|
Title: [SOLVED] Combobox does not return focus to input after selection Post by: phunksta on May 21, 2015, 07:23:43 AM Hi, Please see fiddle: https://jsfiddle.net/phunksta/smnnymay/
After selection of an option by whatever method in the combo, focus is not returned to the input field. As the panel was appended to the body, and is outside of the form, the form has now lost focus. Ideally once the panel is closed focus should always return to the input so the user is returned to the right form. Title: Re: Combobox does not return focus to input after selection Post by: stworthy on May 21, 2015, 05:59:08 PM You are missing the 'idField' property set to the combogrid, please try the updated example https://jsfiddle.net/smnnymay/2/
Title: Re: Combobox does not return focus to input after selection Post by: phunksta on June 16, 2015, 03:31:03 AM Thanks stworthy. I can see that does work fine in the fiddle.
Annoyingly, in my application I *do* have the idField set, and the 'not focussing' behaviour persists. I will mark this solved and move to the 'help' forum. |