File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ var schema = {
151151 {
152152 key: " surname" ,
153153 type: " select" ,
154- itemNames : {
154+ titleMap : {
155155 " Andersson" : " Andersson" ,
156156 " Johansson" : " Johansson" ,
157157 " other" : " Something else..."
@@ -191,12 +191,12 @@ They do need a list of ```items``` to have as children.
191191` ` `
192192
193193
194- *select* and *checkboxes* can take an object, ` ` ` itemNames ` ` ` , where key is the value to be saved on the model
194+ *select* and *checkboxes* can take an object, ` ` ` titleMap ` ` ` , where key is the value to be saved on the model
195195and the value is the title of the option.
196196` ` ` javascript
197197{
198198 type: " select" ,
199- itemNames : {
199+ titleMap : {
200200 " yes" : " Yes I do" ,
201201 " no" : " Hell no"
202202 }
You can’t perform that action at this time.
0 commit comments