Skip to content
On this page

Checkbox

Component Checkbox. Simple and elegant.

Implements mixins RequiredInputMixin and BasicInputMixin.

html
<Card>
  <Checkbox name="conditions" label="I accept all the terms and conditions" />
</Card>

Props

  • initialValue: Initial value of the component. Type Boolean, default value false.
html
<Card>
  <Checkbox name="conditions" label="I accept all the terms and conditions" initialValue />
</Card>
  • required: Wether if the checkbox is required or not when it is inside a Form. Type Boolean, default value false.
html
<Card>
  <Form>
    <Checkbox name="conditions" label="I accept all the terms and conditions" required />
  </Form>
</Card>

Emits

  • @input. Native event emit.
  • @change. Native change emit.
  • @changeField. Custom change emit.