Components
WAsyncValidatedInput
This is for usage with @witchcraft/nuxt-utils's useAsyncValidation for handling
complex validation scenarios (client+server) as in the case of a username.
This is for usage with @witchcraft/nuxt-utils's useAsyncValidation for handling complex validation scenarios (client+server) as in the case of a username.
Stories
Props
| Prop | Default | Type |
|---|---|---|
errors | unknown[] | |
canSubmit | boolean | |
inputValid | boolean | |
statusText | void 0 | string | undefined |
modelValue | string | undefined | |
id | string | undefined | |
status | string | undefined |
Events
| Event | Type |
|---|---|
update:modelValue | [value: string | undefined] |
Slots
| Slot | Type |
|---|---|
username-icon-loading | {} |
username-icon-valid | {} |
username-icon-invalid | {} |
error | { errors: unknown[]; id: string; } |