File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/components/form-checkbox Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -209,6 +209,12 @@ pre-selected.
209209When placing individual ` <b-form-checkbox> ` components within a ` <b-form-checkbox-group> ` , most
210210props and the ` v-model ` are inherited from the ` <b-form-checkbox-group> ` .
211211
212+ ** Note:** the ` unchecked-value ` prop _ does not_ affect the native ` <input> ` 's ` value ` attribute,
213+ because browsers don't include unchecked boxes in form submissions. To guarantee that one of two
214+ values is submitted in a native ` <form> ` submit (e.g. ` 'yes' ` or ` 'no' ` ), use radio inputs instead.
215+ This is the same limitation that
216+ [ Vue has with native checkbox inputs] ( https://vuejs.org/v2/guide/forms.html#Checkbox-1 ) .
217+
212218### Multiple checkboxes and accessibility
213219
214220When binding multiple checkboxes together, you must set the ` name ` prop to the same value for all
You can’t perform that action at this time.
0 commit comments