interface

LiveValidationOptions

Choose the exact content locale and cancellation signal for a live validation request.

Request options

PropertyTypeDescription
localeLocaleOptional. Check one configured content locale; omission uses the default locale. "all" and locale fallback are not supported.
signalAbortSignalOptional. Cancel a request when input changes, the form closes, or a newer check replaces it.
headersHeadersInit | undefinedOptional. Additional headers for this request, using the SDK’s normal request behavior.
keepalivebooleanOptional. Forward the Fetch keepalive option. Live form checks normally use cancellation instead of continuing after navigation.

Full signature

interface LiveValidationOptions<Locale extends string = string> { ... }

Source packages/sdk/src/index.ts:15

Related guides