Class: Superform::Rails::Components::FieldComponent
- Inherits:
-
BaseComponent
- Object
- BaseComponent
- Superform::Rails::Components::FieldComponent
- Defined in:
- lib/superform/rails.rb
Direct Known Subclasses
ButtonComponent, CheckboxComponent, InputComponent, SelectField, TextareaComponent
Instance Attribute Summary
Attributes inherited from BaseComponent
Instance Method Summary collapse
Methods inherited from BaseComponent
Constructor Details
This class inherits a constructor from Superform::Rails::Components::BaseComponent
Instance Method Details
#field_attributes ⇒ Object
228 229 230 |
# File 'lib/superform/rails.rb', line 228 def field_attributes { id: dom.id, name: dom.name } end |