Prevent keyboard popup

#1

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?

Ionic camera only shows when i tap a form text field
#2

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

2 Likes
#3

Same problem, same fix. Thanks :smile:

#4

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

#5

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?