Class: ForestAdminDatasourceToolkit::Components::Actions::WidgetField::RadioGroupField
- Inherits:
-
ActionField
- Object
- ActionField
- ForestAdminDatasourceToolkit::Components::Actions::WidgetField::RadioGroupField
- Defined in:
- lib/forest_admin_datasource_toolkit/components/actions/widget_field.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
-
#widget ⇒ Object
Returns the value of attribute widget.
Attributes inherited from ActionField
#collection_name, #description, #enum_values, #id, #is_read_only, #is_required, #label, #placeholder, #type, #value, #watch_changes
Instance Method Summary collapse
-
#initialize(options) ⇒ RadioGroupField
constructor
A new instance of RadioGroupField.
Methods inherited from ActionField
Constructor Details
#initialize(options) ⇒ RadioGroupField
Returns a new instance of RadioGroupField.
142 143 144 145 146 |
# File 'lib/forest_admin_datasource_toolkit/components/actions/widget_field.rb', line 142 def initialize() super(**) = 'RadioGroup' = [:options] end |
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
140 141 142 |
# File 'lib/forest_admin_datasource_toolkit/components/actions/widget_field.rb', line 140 def end |
#widget ⇒ Object
Returns the value of attribute widget.
140 141 142 |
# File 'lib/forest_admin_datasource_toolkit/components/actions/widget_field.rb', line 140 def end |