3 ms·
Even Safari finally has a native date input. A deeply flawed one. https://twitter.com/jaffathecake/status/1509447655579176963 https://twitter.com/jaffathecake/
by onion2k 5y ago
Even Safari finally has a native date input.
A deeply flawed one. https://twitter.com/jaffathecake/status/1509447655579176963 https://twitter.com/jaffathecake/status/1509447655579176963
- reaperducer 5y agoThe gov.uk research lined to above seems to indicate this isn't unique to Safari. Hopefully all the browsers and input shims will figure this out soon.
- robocat 5y agoSafari on iOS has trouble with blank date inputs (when date is optional). My workaround for reliable date entry UI was to have a <input type=text> for date entry, with a second <input type=date> to the right of the text but that styled as a square dropdown icon, with tabIndex=-1, and JavaScript code to sync the two inputs. That allowed typing in the date, and also allowed users to use the browser native date input entry without forcing users. That avoided problems with broken user agents (mobile or desktop or OS).