Radio Component API
matestack_form my_form_config do
form_radio key: :status, options: { 'active': 1, 'deactive': 0 }, #...
endParameters
key - required
options - required
matestack_form my_form_config do
form_radio key: :status, options: [0, 1]
end<input id="status_0" name="status_0" type="radio" value="0">
<label for="status_0">
0
</label>
<input id="status_1" name="status_1" type="radio" value="1">
<label for="status_1">
1
</label>disabled_values
init
placeholder
label
Custom Radio
Last updated