'Why do input type="date" and "time" load blank on mobile devices even with a value set?
I'm having an issue where I have two inputs of type date and time that have the value attribute are showing up as blank input boxes.
Example:
<input type="date" value="2016-11-11" />
<input type="time" value="11:00" />
The code is being run as a website from the mobile device's web browser (ie. safari, chrome, etc.). The value only shows up inside the input box when the user changes it.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|