Skip to content

[Request] date prompt #447

@davidwarrington

Description

@davidwarrington

Is your feature request related to a problem? Please describe.
When requesting date input, it would be nice to have a prompt other than text for it. For example, it could be a text input that enforces a specific format, e.g. YY/MM/DD, where the user can also navigate between the editable regions using the left and right arrows, and use up and down arrows to increase/decrease the number in that region of the input. Alternatively there could be an actual datepicker UI for this.

I've been thinking about creating one for a side of desk project I have at work, but haven't been able to settle on what the UX ought to be for it. If this is something you'd be interested in having in the main library, I'd be happy to try building it myself but would appreciate some input on the UX side of things in particular.

Describe alternatives you've considered
Using the validate method on a text input. This can work fine, but I think a strict format that users can't escape from by typing whatever they like is better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Needs triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions