mirror of
https://github.com/docusealco/docuseal
synced 2026-11-14 07:52:32 -05:00
fix standalone radio
This commit is contained in:
1 parent
38e68814cf
commit
96bb4eb6e5
1 file changed
+1
-1
@@ -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