Skip to content

Commit

Permalink
Merge branch 'hotfix/typo'
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlgj committed Mar 28, 2014
2 parents 763d4f2 + 98f5b6d commit 731dd46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ var schema = {
{
key: "surname",
type: "select",
itemNames: {
titleMap: {
"Andersson": "Andersson",
"Johansson": "Johansson",
"other": "Something else..."
Expand Down Expand Up @@ -191,12 +191,12 @@ They do need a list of ```items``` to have as children.
```
*select* and *checkboxes* can take an object, ```itemNames```, where key is the value to be saved on the model
*select* and *checkboxes* can take an object, ```titleMap```, where key is the value to be saved on the model
and the value is the title of the option.
```javascript
{
type: "select",
itemNames: {
titleMap: {
"yes": "Yes I do",
"no": "Hell no"
}
Expand Down

0 comments on commit 731dd46

Please sign in to comment.