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 = {
151
151
{
152
152
key: " surname" ,
153
153
type: " select" ,
154
- itemNames : {
154
+ titleMap : {
155
155
" Andersson" : " Andersson" ,
156
156
" Johansson" : " Johansson" ,
157
157
" other" : " Something else..."
@@ -191,12 +191,12 @@ They do need a list of ```items``` to have as children.
191
191
` ` `
192
192
193
193
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
195
195
and the value is the title of the option.
196
196
` ` ` javascript
197
197
{
198
198
type: " select" ,
199
- itemNames : {
199
+ titleMap : {
200
200
" yes" : " Yes I do" ,
201
201
" no" : " Hell no"
202
202
}
You can’t perform that action at this time.
0 commit comments