useAsyncValidator
Wrapper for .
Package: @vueuse/integrations
Category: '@Integrations'
Usage
import { useAsyncValidator } from '@vueuse/integrations/useAsyncValidator'Options
| Option | Type | Default | Description |
|---|---|---|---|
| validateOption | ValidateOption |
- | @see https://github.com/yiminghe/async-validator#options |
| immediate | boolean |
true | The validation will be triggered right away for the first time. |
| manual | boolean |
- | If set to true, the validation will not be triggered automatically. |