PDA

View Full Version : Problem with using Ext.msg.alert on a popped Panel form



Eric Clapton
26 Jul 2011, 12:01 AM
Hello,
I'm showing myFormPanel includes a form.I'm opening this panel like :



popUpPanel = new myFormPanel();
popUpPanel.show();


I've put some validations for the form inside that panel and wanted to show such
validation error message with
Ext.Msg.alert('please enter X');

Problem is; when I pop this validation message with Ext.Msg.alert myFormPanel is destroyed.

I think it is because my form and alert uses the same layer so Sencha destroys myFormPanel and shows alert message box.

How can I solve this issue?

Any help will be appreciated.

pmahoney
23 Jan 2012, 9:03 AM
Did you get an answer for this? I've just hit the exact same issue.