Hello,
In my application, i am using ig combo in j query model popup. When user clicks on button, j query popup will open and ig combo will be displaying there.
Once the user presses "Esc" key, the j query popup will be close. Up to here it is working fine but when user selects same item from ig combo and after pressing on "Esc" key then ig combo items are displaying on parent page even though popup is closed.
So i am getting this issue and please check the below attached screenshot for the same and provide me solution to fix this issue.
Hi shahinkohan,
Can you please try re-attach the screenshot, as something went wrong during the upload and it's not currently attached
Thanks,
Hi Todor,
Here i am attaching the screen shot please have a look on it. i am facing this strange issue in IE only. please suggest me any solution for this.
Thanks & Best Regards
Pradeep
Hi,
Is there by chance any update to this question?
Thanks!
Hello Josh,
What I can offer is that you configure jQuery UI dialog option: closeOnEscape to false.
The igCombo is handling the ESC key so it can close/open the dropdown. In your case when the igCombo is closed pressing the ESC key will open it, but also the dialog will process the event and will close itself, so at the end the dropdown will loose its parent and will render at the top of the page.
Hope this helps,Martin PavlovInfragistics, Inc.
Hi, Shahinkohan.
What I understood is the following, correct me if I'm wrong: even igCombo looses focus, you expect that the "Esc" will work and will return previous combo value, right? This is not something that is part of the igCombo functionality. Note that when you are using igDialog, pressing the "Esc" button works, because the dialog is on focus. At the same time the igCombo event is fired, because it is on focus too. But when you loose focus on the igCombo, it's normal that "Esc" doesn't affect the combo control - as it is with #combo2.
What you can do is the following:
In addition to that there is a bug in the combo drop down - that it overlaps the igDialog window. To fix this you can use the following workaraound:
You can see the attached sample that holds all the fixes.
Best regards, Nikolay Alipiev
Is it possible to unchanged the value in the dropdown. as the drop down is in a dialog , so when i press the 'esc' key the default 'esc' key for the dialog (CloseOnEsc) is firing as well as the combobox esc event,
I don't want to change the combobox value .
i have attached a sample, please check it once by clicking on the "Test" Button.
Thanks
This is the default behavior of the the igCombo. It's because, when you select a new value and then press "Esc", the old value is returned and in the same time it is selected in that drop down - that's why the drop down it's opened. What you can do is to check inside the dropDownOpening event - if the "Esc" button is clicked, then cancel the opening event (see the attached sample - combo2):
I will wait for your feedback and I hope this will help you resolve your case.
Best regards,
Nikolay Alipiev
Hi
Here After selecting the value and pressing the 'esc' button the combo box is opening, is there anyway so that when i press the 'esc' button the default esc won't open the combo box.
Hi, Josh and Shahinkohan.
Thanks for using our product. I will ask you, if you can of course, to attach a sample that reproduces this issue. In addition if you have more details on the IE browser version, that will be great.
Thanks in advance.