Came across a situation when the user tabs (on iPad uses the ‘next’ button on the screen keyboard) into a ‘combo’ field, then types anything in on the keyboard, a javascript error is generated at line: 6514
master._settings.value = “”;
The reason for the error is that the field ‘master’ is null. As a result of the error, if the user touched/clicks any of the popup options, it will be ignored and the popup screen disappears as if the user has selected the option normally.
The issue appears that the ‘master’ field is set during the ‘onclick’ processing for the field the user has touched or clicked. At line 5716
popup._settings.master = element._settings.id;
Until the user has touched/clicked the field, the popup cannot be used for selecting an option.
One possible solution to this error is to copy that line and put it after line 6455 in the routine _set_on_popup_click. Something like this:
_set_on_popup_click:function(){
var popup = dhx.ui.get(this._settings.popup);
popup._settings.master = this._settings.id;
Then if when the user has used the tab (or next) key to switch to a combo field, the field ‘master’ is defined and will work as expected.
Thanks,
Kris