You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.
With raw checkbox inputs it's possible to create a group of checkboxes (v-for) to track which elements are selected.
create an array for selection tracking
create a set of checkbox (v-for)
set the selection tracking array as v-model
set the item from the iterator as :value
(add a label rendering something for the checkbox)
The result is, that Vue syncs the selection state from the checkboxes into the array. With our oc-checkbox component, this functionality is lost, as we only accept a boolean value.
With raw checkbox inputs it's possible to create a group of checkboxes (v-for) to track which elements are selected.
v-model
:value
The result is, that Vue syncs the selection state from the checkboxes into the array. With our oc-checkbox component, this functionality is lost, as we only accept a boolean value.
Reference: https://vuejs.org/v2/guide/forms.html#Checkbox
The text was updated successfully, but these errors were encountered: