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

Open in Storybook

Props

Prop Default Type
errorsunknown[]
canSubmitboolean
inputValidboolean
statusTextvoid 0string | undefined
modelValuestring | undefined
idstring | undefined
statusstring | 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; }