date-input-polyfill icon indicating copy to clipboard operation
date-input-polyfill copied to clipboard

IE 11 allows autocomplete for input type="date"

Open TomaszCz opened this issue 6 years ago • 0 comments

Hello!

I found an issue with this really nice package. In general, IE still treat input type="date" as simple text field, and allows autocomplete to it. When you select this text it is inserted to the input filed. (html5 input:invalid is not triggered )

See how it looks on the screen, a date picker is visible and it is overlapped by autocomplete list. autocompletedateinput

Unfortunately, this is an issue, as in IE simple setting autocomplete="off" is ignored Source: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/9847360/

"In IE11 and Edge, we made the decision to ignore autocomplete=off, (...) Best regards, The MS Edge Team"

Is this something this polyfill can address as well? If not, any tips for a workaround?

All the best, Tom.

TomaszCz avatar Aug 08 '18 09:08 TomaszCz