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.
Safari(desktop) date picker doesn't have a clear button and clearing the field manually results in a
badInputflag 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.