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.
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.