You found a bug! We've classified it as
EXTJS-23655
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
-
Sencha User
Ext.Msg and Ext.MessageBox buttons and icon documentation
The documentation for Ext.Msg and Ext.MessageBox buttons and icon documentation does not include available static values that can be used. I couldn't find any description or usage examples of the statics defined by Ext.MessageBox anywhere.
The statics are:
PHP Code:
OK : {text: 'OK', itemId: 'ok'},
YES : {text: 'Yes', itemId: 'yes'},
NO : {text: 'No', itemId: 'no'},
CANCEL: {text: 'Cancel', itemId: 'cancel'},
INFO : Ext.baseCSSPrefix + 'msgbox-info',
WARNING : Ext.baseCSSPrefix + 'msgbox-warning',
QUESTION: Ext.baseCSSPrefix + 'msgbox-question',
ERROR : Ext.baseCSSPrefix + 'msgbox-error',
OKCANCEL: [
{text: 'Cancel', itemId: 'cancel'},
{text: 'OK', itemId: 'ok'}
],
YESNOCANCEL: [
{text: 'Cancel', itemId: 'cancel'},
{text: 'No', itemId: 'no'},
{text: 'Yes', itemId: 'yes'}
],
YESNO: [
{text: 'No', itemId: 'no'},
{text: 'Yes', itemId: 'yes'}
]
-
Sencha User
They are listed in the Properties and a couple of them are used in the examples, but I will put in a suggestion to see if it possible to make the information more accessible.
Kevin Jackson
Sencha Support Team
-
Sencha User
Thanks for the report! I have opened a bug in our bug tracker.