English
Interface: DateOptions
Defined in: node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:342
Options for the date prompt.
Extends
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
| ‐ | node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:42 | ||
| The default value returned when the user doesn't select a date. | ‐ | node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:361 | |
The date format for the input segments. Deafult based on locale | ‐ | node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:351 | ||
| The starting date shown when the prompt first renders. Users can edit this value before submitting. | ‐ | node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:366 | |
| ‐ | node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:38 | ||
| The BCP 47 language tag to use for formatting See https://developer.mozilla.org/en-US/docs/Glossary/BCP_47_language_tag Example ts | ‐ | node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:357 | |
| The maximum allowed date for validation. | ‐ | node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:374 | |
| The message or question shown to the user above the input. | ‐ | node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:346 | |
| The minimum allowed date for validation. | ‐ | node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:370 | |
| ‐ | node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:39 | ||
| ‐ | node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:40 | ||
| A function or a Standard Schema that validates user input. If a custom function is given, you should return a | ‐ | node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:380 | |
| ‐ | node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:41 |

