Class: RubyUIAdmin::Fields::TextField
- Defined in:
- lib/ruby_ui_admin/fields/text_field.rb
Instance Attribute Summary
Attributes inherited from BaseField
#block, #id, #options, #resource
Instance Method Summary collapse
-
#as_html? ⇒ Boolean
Render the raw value as HTML (
as_html: true).
Methods inherited from BaseField
#database_id, #default_hidden_views, #default_value, #description, field_type, #fill, #fill_value, #filterable?, #formatted_value, #has_default?, #help, #initialize, #link_to_record?, #name, #permit_param, #permit_params, #permitted_param, #placeholder, #readonly?, register_as, #required?, #sort_lambda, #sortable?, #type, #value, #visible?, #visible_in_view?
Constructor Details
This class inherits a constructor from RubyUIAdmin::Fields::BaseField
Instance Method Details
#as_html? ⇒ Boolean
Render the raw value as HTML (as_html: true).
9 10 11 |
# File 'lib/ruby_ui_admin/fields/text_field.rb', line 9 def as_html? !![:as_html] end |