git.ithinksw.org
/
extjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git]
/
examples
/
direct
/
named-arguments.js
diff --git
a/examples/direct/named-arguments.js
b/examples/direct/named-arguments.js
index
9a99185
..
c1ebda8
100644
(file)
--- a/
examples/direct/named-arguments.js
+++ b/
examples/direct/named-arguments.js
@@
-31,23
+31,27
@@
Ext.onReady(function(){
xtype: 'textfield',
fieldLabel: 'First Name',
name: 'firstName',
xtype: 'textfield',
fieldLabel: 'First Name',
name: 'firstName',
- value: 'Evan'
+ value: 'Evan',
+ allowBlank: false
}, {
xtype: 'textfield',
fieldLabel: 'Last Name',
name: 'lastName',
}, {
xtype: 'textfield',
fieldLabel: 'Last Name',
name: 'lastName',
- value: 'Trimboli'
+ value: 'Trimboli',
+ allowBlank: false
}, {
xtype: 'numberfield',
fieldLabel: 'Age',
name: 'age',
}, {
xtype: 'numberfield',
fieldLabel: 'Age',
name: 'age',
- value: 25
+ value: 25,
+ allowBlank: false
}],
dockedItems: [{
dock: 'bottom',
ui: 'footer',
xtype: 'toolbar',
items: ['->', {
}],
dockedItems: [{
dock: 'bottom',
ui: 'footer',
xtype: 'toolbar',
items: ['->', {
+ formBind: true,
text: 'Send',
handler: function(){
var values = form.getForm().getValues();
text: 'Send',
handler: function(){
var values = form.getForm().getValues();