Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

titleMap is ignored in array of string enums (dropdowns) #10

Open
fkostadinov opened this issue Dec 11, 2014 · 0 comments
Open

titleMap is ignored in array of string enums (dropdowns) #10

fkostadinov opened this issue Dec 11, 2014 · 0 comments

Comments

@fkostadinov
Copy link

In the following JSON Form, titleMap values are simply ignored.

{
"schema": {
"friends": {
"type": "array",
"items": {
"type": "string",
"title": "foo",
"enum": ["one", "two", "three"]
}
}
},
"form": [
{
"key": "friends",
"titleMap": {"one": "foo", "two": "bar", "three": "baz"}
}
]
}

This renders an array of dropdowns, each returning a string value. The titleMap argument however is ignored, the dropdowns all contain "one", "two" or "three" instead of "foo", "bar" and "baz".

Help is appreciated, thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant