diff --git a/apps/docs/src/docs/components/form-checkbox.md b/apps/docs/src/docs/components/form-checkbox.md index ce2d54bc5..ab55a00a9 100644 --- a/apps/docs/src/docs/components/form-checkbox.md +++ b/apps/docs/src/docs/components/form-checkbox.md @@ -146,7 +146,7 @@ const options = [ - `value` The selected value which will be set on `v-model` - `disabled` Disables item for selection -- `text` Display text, or html Display basic inline html +- `text` Display text, or `html` Display basic inline html `value` can be a string, number, or simple object. Avoid using complex types in values. @@ -271,66 +271,6 @@ const checkEx2Options = [ -## Checkbox values and `v-model` - -By default, `BFormCheckbox` value will be true when checked and false when unchecked. You can customize the checked and unchecked values by specifying the value and unchecked-value properties, respectively. - -When you have multiple checkboxes that bind to a single data state variable, you must provide an array reference (`[ ]`) to your v-model. - -Note that when v-model is bound to multiple checkboxes (i.e an array ref), the unchecked-value is **not used**. Only the value(s) of the checked checkboxes will be returned in the v-model bound array. You should provide a unique value for each checkbox's value prop (the default of true will not work when bound to an array). - -To pre-check any checkboxes, set the v-model to the value(s) of the checks that you would like pre-selected. - -When placing individual `BFormCheckbox` components within a `BFormCheckboxGroup`, most -props and the `v-model` are inherited from the `BFormCheckboxGroup`. - -Note: the unchecked-value prop does not affect the native ``'s `value` attribute, because browsers do not include unchecked boxes in form submissions. To guarantee that one of two values is submitted in a native `