DateSchemaOptionsinterface
{
readonly value?: PossibleDate | undefined;
readonly min?: Nullish<PossibleDate>;
readonly max?: Nullish<PossibleDate>;
readonly input?: DateInputType | undefined;
readonly step?: number | undefined;
}| Property | Type | |
|---|---|---|
.value | PossibleDate | Default date used when the input is undefined. readonly |
.min | Nullish<PossibleDate> | Earliest allowed date ( null for no bound). readonly |
.max | Nullish<PossibleDate> | Latest allowed date ( null for no bound). readonly |
.input | DateInputType | HTML <input /> type="" hint for downstream UIs. Defaults to "date" readonly |
.step | number | Rounding step (in milliseconds, because that's the base unit for time). - E.g. 1000 * 60 will round to the nearest minute.- Note: HTML <input> step attributes are in seconds, so you may need to convert units. readonly |
Options for DateSchema.