Is there a way to have a title and value for the checkbox object?
dolv opened this issue · comments
Hi, I have the object like this:
"events": {
"type": "array",
"uniqueItems": true,
"format": "checkbox",
"minLength": 1,
"items":{
"type": "string",
"enum": ["Induction event","Shipping event"]
},
"default": ["Induction event","Shipping event"]
}
I'd like to have a possibility to get mapped from title to values array from the checkbox array object according to the following map:
"eventsToValuesMAP": {
"Induction event": "IND",
"Shipping event": "SHP"
}
How to properly define the "events" to get desired effect?
Thank you in advance.
Thank you for your time.
Created new issue in the reffered repo
json-editor/json-editor#67
The issue has been resolved in json-editor/json-editor#67
the result could be found here:
The issue has been resolved