-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Checkboxes
Yauheni Prakopchyk edited this page Apr 26, 2019
·
8 revisions
Сheckbox supports disabled
and checked
attributes
<va-checkbox
v-model="value"
label="Selected"
/>
<va-checkbox
v-model="value"
:errorMessages="errorMessages"
:errorCount="3"
label="With errors"
/>
Props
-
id
- String -
label
- String - label to the right of checkbox -
name
- String -
value
- Boolean - main value -
disabled
- Boolean - shows or hide the popover -
readonly
- Boolean | String | Number - shows or hide the popover -
errorMessages
- Boolean | String | Number - shows or hide the popover -
errorCount
- Number (default: 1) - shows a number of errors to display, given an array of error messages is passed -
error
- Boolean - define whether the fihis property to set the color of the track. We can choose one color from a set of theme colors (primary, secondary, info, error, warning)