Skip to content

Commit f9d4d5a

Browse files
authored
use hash key for unique name in selects with type radio given an options hash
1 parent 2bb90b9 commit f9d4d5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/concepts/matestack/ui/core/form/select/select.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"#{model_binding}": input_key,
5959
"@change": "inputChanged(\"#{attr_key}\")",
6060
"value-type": options_type,
61-
name: "#{attr_key}_#{value}",
61+
name: "#{attr_key}_#{key}",
6262
value: key}/
6363
%label=value
6464
- if options[:options].is_a?(Array)

0 commit comments

Comments
 (0)