-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Is the checkbox decorator correct for this plugin?
Yours:
<div class="checkbox">
<label>
<input type="hidden" name="checkbox" value="0">
<input type="checkbox" name="checkbox" id="checkbox" value="1">
Remember me
</label>
</div>
Theirs ( bootstrap 3 docs https://getbootstrap.com/docs/3.3/css/#forms-example ) :
<div class="checkbox"> <label> <input type="checkbox"> Check me out </label> </div>
When I'm sending the form with the first syntax, i receive an array for the checkbox
key (since it is in 2 inputs).
Metadata
Metadata
Assignees
Labels
No labels