Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cordova on iOS14 shows iOS keyboard instead of native HTML date-picker

Tags:

When upgrading to iOS14, the HTML5 embedded date-picker ceases to work in my app. The iOS keyboard pops up instead of the usual native browser date-picker. Is this a bug?

I can manage to replicate the behavior by creating a new app in Cordova 9 using the simple hello-world app within the documentation.

An example of the HTML used that should pop-up the html5 date-picker follows:

  <input type="date" id="start" name="trip-start"          value="2018-07-22"          min="2018-01-01" max="2018-12-31"> 
like image 725
Ray Hammond Avatar asked Sep 22 '20 18:09

Ray Hammond


1 Answers

As per the official Cordova documentation. Upgrading to Cordova-iOS 6.1.1 will resolve this issue.

like image 173
Tabish Sohail Avatar answered Nov 23 '22 04:11

Tabish Sohail