We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
The text was updated successfully, but these errors were encountered:
Hi,
check out the interactive demo... I have added / updated your "events" Schema... https://json-editor.github.io/json-editor/?schema=N4IgLglmA2CmIC4QFEBusB2YDOIA04AngA7xID2ARgFawDGY+IxATuaS5LLgqLOlh6hIMMigE4mYEmICGLFrMJMArhggBHFbACSYWAFseYFtoIAzciwOzGSOgAt6Aa0rkAHkwMQMAGUwA5mAOiACMBFCGQkSkiCDYJj4BTJgqBogA2iA6GAAmKgwQ5BgABPyYjAQAyg4QxMRJZRIgALoE7JDF0akGAPoicDxZOgByACJMVQASAAqtAL7zBLmw5rIq0HbDeQWdpeVYk7X1jQeMLYvzQA=&value=N4IgpgbmB2AuDOIBcBtEBJaATArgY1gEsB7aAAkhlhABoQBlAC0IAcXDoBzCqOEAXQC+QA==&theme=bootstrap2&iconlib=fontawesome4&object_layout=normal&show_errors=interaction
Sorry, something went wrong.
Hi, @marc7000 That is exactly what I was looking for. Much appreciated.
P.S. It could be usefull having your example in the array section of the README.md document. Please consider adding it there.
The issue has successfully been resolved - thanks goes to @marc7000
No branches or pull requests
Hi, I have the object like this:
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:
How to properly define the "events" to get desired effect?
Thank you in advance.
The text was updated successfully, but these errors were encountered: