the-darc / angular-virtual-keyboard

An AngularJs Virtual Keyboard Interface based on GreyWyvern VKI
http://the-darc.github.io/angular-virtual-keyboard
MIT License
72 stars 41 forks source link

Virtual keyboard still show in read only mode #28

Open wahono77 opened 8 years ago

wahono77 commented 8 years ago

In readonly mode input, virtual keyboard still show and the value can change by user.

I try add filter condition to prevent show keyboard in readonly mode and it's work.

self.attachVki = function(elem) { if (elem.getAttribute("VKI_attached") || elem.readOnly) return false; ....

this.VKI_show = function(elem) { if(elem.readOnly) return false; ....

I hope this bug should be fixed in next version

thanks