titanium-elements icon indicating copy to clipboard operation
titanium-elements copied to clipboard

Date input needs a clear button on safari

Open AbandonedFridge opened this issue 2 years ago • 0 comments

Safari(desktop) date picker doesn't have a clear button and clearing the field manually results in a badInput flag getting set on the native input's validity object which will force the input into an invalid state, even after reset and even if it's not required. The only way I've found to clear it is to give it a valid value and then clear the input programmatically.

AbandonedFridge avatar Jan 25 '24 23:01 AbandonedFridge