Closed iKrushYou closed 2 months ago
This was the best compromise found after experimenting across multiple browsers and multiple operating systems - the stock browser date/time controls are not great.
If you would like to replace them with a custom date/time control in your own version of the HTML it should be fairly straightforward.
Reopening to see if this Safari specific behaviour can be mitigated.
Restyled card from/to date fields on Safari to dim fields if value is blank and no default start/end date is defined.
Added onchange event handler to update style while editing.
Closing as completed, pending release v0.8.9.
This was extremely confusing to me as a user that these were not default values (see https://github.com/uhppoted/uhppoted-httpd/issues/27). Instead, these fields should have no placeholder or a placeholder that is blank like
mm/dd/yyyy
to signify that it is not automatically filled with a valueOr, make the default value today. Because as it is currently, if you use the arrow keys it will act as if the value was null / 0. i.e. if you hit the up arrow on
2024
you get0001
instead of2025
Edit: I realize this is a Safari / WebKit issue. I just so happened to be using Chrome this time and see that it is not an issue / it is much more obvious the date isn't set