You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you load a JSON with an enum, the correct item is selected in the drop box.
Actual behavior
In version 2.15.0 (2.14.1 doesn't have this problem), if you load a json with enum, if it not the first element that is selected in the json, the dropdown won't have anything selected.
Steps to reproduce the behavior
Simple schema item below and load { "example": "suzanne" } The drop down won't have anything selected in 2.15.0.
{"title": "json schema example","type": "object","properties": {"example": {"type": "string","description": "This is an example schema.","enum": ["louise","suzanne","heather"],"options": {"enum_titles": ["FR - Louise","FR - Suzanne","EN - Heather"]}}}}
The text was updated successfully, but these errors were encountered:
I encountered the same issue when using enum, enum_titles and choices editor in 2.15.0. The json-editor always has the first item in the list selected. It works fine after I switched back to 2.14.1.
General information
Expected behavior
When you load a JSON with an enum, the correct item is selected in the drop box.
Actual behavior
In version 2.15.0 (2.14.1 doesn't have this problem), if you load a json with enum, if it not the first element that is selected in the json, the dropdown won't have anything selected.
Steps to reproduce the behavior
Simple schema item below and load { "example": "suzanne" } The drop down won't have anything selected in 2.15.0.
The text was updated successfully, but these errors were encountered: