I have several input fields in a form that on focus brings up their respective keyboard. I have set up the visible callback so that the preview input gets populated with the input field's value and then the input text is selected as per your instructions in issue #25. This is useful when returning to an input field to change the value.
visible : function(e, keyboard, el) {
keyboard.$preview.val(keyboard.$el.val());
keyboard.$preview[0].select();
}
In Chrome it seems to work fine, but in IE9 the .select() seems to only work until I hover over the keyboard buttons at which point the selection stops and the caret gets positioned.
Here is a (demo)
I have several input fields in a form that on focus brings up their respective keyboard. I have set up the
visiblecallback so that the preview input gets populated with the input field's value and then the input text is selected as per your instructions in issue #25. This is useful when returning to an input field to change the value.visible : function(e, keyboard, el) { keyboard.$preview.val(keyboard.$el.val()); keyboard.$preview[0].select(); }In Chrome it seems to work fine, but in IE9 the .select() seems to only work until I hover over the keyboard buttons at which point the selection stops and the caret gets positioned.
Here is a (demo)