Jump to content

To hide virtual keyboard.


Israel Portillo

Recommended Posts

Hi group

Wonder if there is a way to hide virtual keyboard in my mobile app  while I am in a unimedit but the information is generated by a scanner.... So I dont need it and the time in to show and to hide the virtual keyboard is about two precious secods in every scanning, killing the possibility of a fluent scan.

Thanks for your help.

 

2098061917_keyboard2.thumb.jpeg.e588e20d4d416342d726a2d771bf4c0c.jpeg1866544609_keyboardI.thumb.jpg.b856cf4ef9c7e9e6999250915dc124f4.jpg

 

  • Upvote 1
Link to comment
Share on other sites

I assume this should work with unimEdit as well.

 

On 11/6/2020 at 10:30 PM, alfr said:

The above sets the inputType, which is not the same attribute you need to set to control the virtual keyboard. That is controlled by the InputMode attribute. This is not published through uniGui. But what you can do is the following. 

1. In your uniedit control choose - ClientEvents - ExtEvents - afterrender

2. 



function afterrender(sender, eOpts)
{
    var me=sender.inputEl;      
    me.set({
        inputmode: "none"
    });
}

 

http://forums.unigui.com/index.php?/topic/15465-uniedit-and-android-soft-keyboard/&do=findComment&comment=85005

 

Link to comment
Share on other sites

×
×
  • Create New...