PDA

View Full Version : [FIXED] Ext.Msg.prompt does not pass value to callback



pjennings
3 Nov 2011, 10:58 AM
Using the example from the source:


Ext.Msg.prompt(
'Welcome!',
'What\'s your name going to be today?',
function(value){
console.log(value)
},
null,
false,
null,
{ autocapitalize : true, placeholder : 'First-name please...' }
);



This logs "ok" or "cancel" to the console, not what you type into the box. It seems that what was typed into the box is not passed to the callback.

Jamie Avins
3 Nov 2011, 11:32 AM
Thank you for the report.