projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7d486b
)
sync
author
Alan Knowles
<alan@roojs.com>
Thu, 12 Dec 2013 11:45:09 +0000
(19:45 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 12 Dec 2013 11:45:09 +0000
(19:45 +0800)
examples/form/dynamic.js
patch
|
blob
|
history
diff --git
a/examples/form/dynamic.js
b/examples/form/dynamic.js
index
ba7516f
..
9886e49
100644
(file)
--- a/
examples/form/dynamic.js
+++ b/
examples/form/dynamic.js
@@
-253,6
+253,9
@@
Roo.onReady(function(){
name: 'scountry',
//vtype:'email',
width:225,
+ valueField :'code',
+ displayField : 'title',
+ emptyText : 'Select a country',
store: {
xtype : 'Store',
xns: Roo.data,
@@
-269,7
+272,7
@@
Roo.onReady(function(){
totalProperty: 'totalCount',
id: 'post_id',
fields : [
- '
id', 'nam
e'
+ '
code', 'titl
e'
]
}
},