[go: up one dir, main page]

Datepicker input HTML attributes. Add `autocomplete="off"` and `inputmode="none"`

autocomplete="off"

Adding this attribute to the HTML attribute will help prevent the autocomplete covering up the datepicker. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete

Screen_Shot_2020-05-13_at_11.27.06_AM

inputmode="none"

Adding this attribute will prevent showing the keyboard that covers up the datepicker on Android. This attribute should not change anything on any other browsers. https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode

Screen_Shot_2020-05-13_at_10.30.51_AM