Input type = place "date" - mobile devices

Hi, what is best for text with a placeholder in input with type = "date"?

I want the phone to use its own functionality to select a date on the site, and not to enter a keyboard, but iOS devices ignore any date placeholder.

Try JS to work, but just crashed any androids by looking at it.

+4
source share
1 answer

jQuery Mobile can help you here. They have many widgets that should work on a wide range of devices, such as Android or iOS. Their text widget supports date picker, and a full-featured demo of this widget can be found here .

0
source

Source: https://habr.com/ru/post/1489421/


All Articles