projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b9047d
)
Roo/form/ComboBoxArray.js
author
Alan Knowles
<alan@roojs.com>
Wed, 2 May 2012 04:00:49 +0000
(12:00 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 2 May 2012 04:00:49 +0000
(12:00 +0800)
Roo/form/ComboBoxArray.js
patch
|
blob
|
history
diff --git
a/Roo/form/ComboBoxArray.js
b/Roo/form/ComboBoxArray.js
index
ff936ef
..
435fa72
100644
(file)
--- a/
Roo/form/ComboBoxArray.js
+++ b/
Roo/form/ComboBoxArray.js
@@
-40,12
+40,18
@@
Roo.extend(Roo.form.ComboBoxArray, Roo.form.ComboBox,
lastData : false,
items : false,
+
+ /**
+ * @cfg {String} nameField The field to take the 'descriptive' display name from
+ */
nameField : 'name',
+ /**
+ * @cfg {String} idField The field to take the hidden 'id' data from
+ */
+ idField : 'id',
tipField : 'email',
- idField : 'id',
-
renderer : false,
hiddenName : false, // set this if you want a , sperated list of values in it for form posting..