Class: Felt::InputGroup::CheckboxField
- Defined in:
- lib/input_group/checkbox_field.rb
Overview
Checkbox Field renders a checkbox input field with a label and a helper text.
The hint text is optional and is rendered before the checkbox.
Instance Attribute Summary
Attributes inherited from Base
#attribute, #form, #input_options, #options
Instance Method Summary collapse
Methods inherited from Base
#classes, #error_classes, #errors, #errors?, #help, #help?, #help_classes, #hint, #hint?, #hint_classes, #initialize, #input_classes, #label, #label?, #label_classes, #placeholder, #placeholder?
Constructor Details
This class inherits a constructor from Felt::InputGroup::Base
Instance Method Details
#config_key ⇒ Object
12 13 14 |
# File 'lib/input_group/checkbox_field.rb', line 12 def config_key :checkbox_field end |