CurrencyCodeSchemaOptionsinterface
{
readonly value?: string | undefined;
readonly max?: number | undefined;
readonly case?: "upper" | "lower" | undefined;
readonly input?: StringInputType | undefined;
readonly currencies?: ImmutableArray<CurrencyCode> | undefined;
}| Property | Type | |
|---|---|---|
.value | string | Default string value used when the input is undefined. readonly |
.max | number | Maximum allowed character length. Defaults to 3 readonly |
.case | "upper""lower" | Force the result to "upper" or "lower" case. readonly |
.input | StringInputType | HTML <input /> type="" hint for downstream UIs. readonly |
.currencies | ImmutableArray<CurrencyCode> | Set of allowed ISO 4217 currency codes. Defaults to CURRENCY_CODES readonly |
Options for CurrencyCodeSchema.
- The length, format, and single-line constraints are fixed internally, so only the presentation-level string options plus
currenciesare exposed.