Skip to content

Commit

Permalink
fix: typo in custom-inputs.mdx (#4618)
Browse files Browse the repository at this point in the history
  • Loading branch information
bennyty committed Jan 7, 2024
1 parent 39acc59 commit 61f86ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/guide/composition-api/custom-inputs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ This means checkboxes have three states to maintain:
- The current from value and if it is a checkbox group or a single checkbox. This is usually the `modelValue` prop for components.
- If it is checked or not, if the checked value equals or is in the form value then it is checked. This should be computed based on the previous fact.

All of this can be hard to wrap your head around. However, `useField` makes this as it already handles the nuances of checkboxes.
All of this can be hard to wrap your head around. However, `useField` makes this easy as it already handles the nuances of checkboxes.

The `useField` function accepts a `type` option that you can use to tell vee-validate that the input type is a checkbox and also accepts a `checkedValue` option.

Expand Down

0 comments on commit 61f86ea

Please sign in to comment.