Class: ExpressTemplates::Components::Forms::Textarea

Inherits:
FormComponent show all
Defined in:
lib/express_templates/components/forms/basic_fields.rb

Constant Summary

Constants inherited from Base

Base::MAP

Instance Attribute Summary

Attributes inherited from FormComponent

#input_attributes

Instance Method Summary collapse

Methods inherited from FormComponent

#field_helper_options, #field_id_attribute, #field_name, #field_name_attribute, #label_name, #label_text, #parent_form, #resource, #resource_class, #resource_name

Methods included from Capabilities::Configurable

included

Methods inherited from Base

abstract_component, abstract_component?, before_build, #build, builder_method, builder_method_and_class, contains, descendants, has_attributes, inherited, #initialize, require_parent, required_parent, tag

Constructor Details

This class inherits a constructor from ExpressTemplates::Components::Base

Instance Method Details

#field_valueObject



39
40
41
# File 'lib/express_templates/components/forms/basic_fields.rb', line 39

def field_value
  config[:value] || super
end