Skip to content

Commit 731dd46

Browse files
committed
Merge branch 'hotfix/typo'
2 parents 763d4f2 + 98f5b6d commit 731dd46

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff 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
195195
and 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
}

0 commit comments

Comments
 (0)