Prevent keyboard popup

I am using the Cordova Date Picker plugin: https://github.com/VitaliiBlagodir/cordova-plugin-datepicker

One problem is that, whenever I focus on the input, iOS keyboard pops up, and I can’t access the datepicker. Is there anyway we can disable the keyboard?

1 Like

Just solved this by adding ng-readonly="true" to the input field.

2 Likes

Same problem, same fix. Thanks :smile:

Is there any work around for angular 2 ,I am using https://github.com/misha130/datepicker-ionic2
I tried disabing the input but then calender itself is not opening

[disabled]='true'

Thanks

1 Like

Hello anteksiler,

If we use text readonly it work well but it is not good way because the text input is not focus.

How to disable the keyboard without text readonly?