Class: Flowbite::InputField::RadioButton
- Inherits:
-
Flowbite::InputField
- Object
- ViewComponent::Base
- Flowbite::InputField
- Flowbite::InputField::RadioButton
- Defined in:
- app/components/flowbite/input_field/radio_button.rb
Instance Method Summary collapse
-
#initialize(attribute:, form:, value:, disabled: false, hint: nil, input: {}, label: {}) ⇒ RadioButton
constructor
A new instance of RadioButton.
Methods inherited from Flowbite::InputField
Constructor Details
#initialize(attribute:, form:, value:, disabled: false, hint: nil, input: {}, label: {}) ⇒ RadioButton
Returns a new instance of RadioButton.
6 7 8 9 |
# File 'app/components/flowbite/input_field/radio_button.rb', line 6 def initialize(attribute:, form:, value:, disabled: false, hint: nil, input: {}, label: {}) super(attribute: attribute, form: form, disabled: disabled, hint: hint, input: input, label: label) @value = value end |