Form Radio
form my_form_config do
form_radio key: :status, options: { 'active': 1, 'deactive': 0 }, #...
end# that's working:
form some_form_config do
form_* key: :foo
toggle show_on: "some-event" do
plain "hello!"
end
end
# that's not working:
form some_form_config do
toggle show_on: "some-event" do
form_* key: :foo
end
endParameters
key - required
options - required
disabled_values - optional
init - optional
placeholder - optional
label - optional
Custom Radio
Last updated
Was this helpful?