import { picklist } from "https://deno.land/x/valibot@v1.0.0-beta.1-i18n/src/schemas/picklist/picklist.ts";
Creates a picklist schema.
Type Parameters
TOptions extends PicklistOptions
Parameters
options: TOptions
The picklist options.
Returns
PicklistSchema<TOptions, undefined>
A picklist schema.
Creates a picklist schema.
Type Parameters
TOptions extends PicklistOptions
TMessage extends ErrorMessage<PicklistIssue> | undefined
Returns
A picklist schema.