PDA

View Full Version : [CLOSED] undefined value in Ext.Msg.prompt callback



r_honey
15 Nov 2011, 12:13 AM
In the following code:



Ext.Msg.prompt('Title', 'Message', function(btn, value) {
alert(value);
});


"value" is always undefined in the callback no matter what you enter in the UI.

Jamie Avins
15 Nov 2011, 8:26 AM
Dupe: http://www.sencha.com/forum/showthread.php?153411

r_honey
15 Nov 2011, 9:53 AM
Oops sorry Jamie, I did search before posting, but nothing showed up :(

Jamie Avins
15 Nov 2011, 10:00 AM
Not a problem, it's not the best process at the moment.