extended component will have 2 extra events
onKeyPress
onTimedKeyPress - will fire with delay, useful when you want to start something only when user stops text entering
I’am developing a ipad web app for our sales representives.
Does anyone know how to close the ipad “on screen keyboard” after pressing enter in a input control?
Does anyone know how prevent the ipad from correcting the inputted text for a certain input control? We are searching by name of a contactperson and the ipad is correcting the text all the time for mis spells.
Does anyone know how to close the ipad “on screen keyboard”
From my experience - you can call focus of some other input on the page. Not quite sure is there any other way to close the keyboard programmatically.
prevent the ipad from correcting the inputted text
You can try to use
{ view:“text”, type:“search”, …
for such kind of input iPad doesn’t provide corrections
To make the on screen keyboard on the ipad disappear this does not work:
$$(“testlabel”).focus();
I have defined a label with id “testlabel” and focused it after pressing enter, but the keyboard won’t disappear. There is no script error and searching in the database after pressing enter works fine, any idea?