Components
Checkbox
Display a checkbox field.
Usage
Use a v-model to make the Checkbox reactive.
{
"message": "You should use slots with <ContentRenderer>",
"value": {},
"excerpt": false,
"tag": "div"
}Label
Use the label prop to display a label on the right.
{
"message": "You should use slots with <ContentRenderer>",
"value": {},
"excerpt": false,
"tag": "div"
}Style
Use the color prop to change the style of the Checkbox.
{
"message": "You should use slots with <ContentRenderer>",
"value": {},
"excerpt": false,
"tag": "div"
}Required
Use the required prop to display a red star next to the label of the Checkbox.
{
"message": "You should use slots with <ContentRenderer>",
"value": {},
"excerpt": false,
"tag": "div"
}Help
Use the help prop to display some text under the Checkbox.
Please check this box
{
"message": "You should use slots with <ContentRenderer>",
"value": {},
"excerpt": false,
"tag": "div"
}Disabled
Use the disabled prop to disable the Checkbox.
{
"message": "You should use slots with <ContentRenderer>",
"value": {},
"excerpt": false,
"tag": "div"
}Slots
label
Use the #label slot to override the content of the label.
{
"message": "You should use slots with <ContentRenderer>",
"value": {},
"excerpt": false,
"tag": "div"
}help
Like the #label slot, use the #help slot to override the content of the help text.
Props
name
string
nullvalue
string | number | boolean | Record<string, any>
nulllabel
string
nullcolor
any
config.default.colorui
any
{}id
string
nullmodelValue
boolean | any[]
nullhelp
string
nullinputClass
string
""onChange
(...args: any[]) => any
onUpdate:modelValue
(...args: any[]) => any
required
boolean
falsedisabled
boolean
falseindeterminate
boolean
undefinedConfig
{
"message": "You should use slots with <ContentRenderer>",
"value": {},
"excerpt": false,
"tag": "div"
}