Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

time data '' does not match format '%Y-%m-%d' is a bit confusing for users #755

Closed
pacharanero opened this issue Jan 18, 2024 · 3 comments
Closed

Comments

@pacharanero
Copy link
Member

pacharanero commented Jan 18, 2024

Date pickers refresh after 1000ms due to the HTMX validation loop replacing the element with a new element. This means you can lose input focus half way through typing a year, for example. We should look at ways to improve this, although it is not a huge priority.

time data '' does not match format '%Y-%m-%d' should be rewritten to be easier for the layperson to understand

Date supplied (9939-01-01) cannot be in the future for this measure! could probably look better with a more human-formatted date

Totally ridiculous dates should be invalid (eg Year 200) - perhaps should just have a cutoff before which dates will be invalid.

@pacharanero
Copy link
Member Author

Some info on HTMX repo Issues discussing the loss of focus issue, for context/ideas on how to solve bigskysoftware/htmx#75

@eatyourpeas
Copy link
Member

Duplicate now of #774 and should be fixed on merge of PR #775

@dc2007git
Copy link
Contributor

Closing as per PR #775

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants