Skip to content

Commit bac5c65

Browse files
committed
fixing vue warnings about unneccessary value binding on checkbox components
1 parent acec2ec commit bac5c65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matestack/ui/bootstrap/form/checkbox.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def render_options
4242
# checked/unchecked checkbox (true/false checkbox)
4343
else
4444
checkbox_wrapper do
45-
input true_false_checkbox_attributes.merge(type: :hidden, id: nil, value: 0)
45+
input true_false_checkbox_attributes.merge(type: :hidden, id: nil)
4646
input true_false_checkbox_attributes.merge(type: :checkbox, ":id": item_id(1)).merge(bootstrap_attributes)
4747

4848
bootstrap_label text: input_label, for_input: item_id(1)

0 commit comments

Comments
 (0)