fix standalone radio
This commit is contained in:
@@ -161,7 +161,7 @@ module Templates
|
|||||||
options: build_options(field.allowed_values, 'radio'),
|
options: build_options(field.allowed_values, 'radio'),
|
||||||
default_value: selected_option
|
default_value: selected_option
|
||||||
}
|
}
|
||||||
elsif field.field_type == :Btn && field.concrete_field_type == :check_box
|
elsif field.field_type == :Btn && %i[check_box radio_button].include?(field.concrete_field_type)
|
||||||
{
|
{
|
||||||
**attrs,
|
**attrs,
|
||||||
type: 'checkbox',
|
type: 'checkbox',
|
||||||
|
|||||||
Reference in New Issue
Block a user