josdejong / josdejong/jsoneditor

oneOf issue

Open
#1,548 1 comment 0 reactions 0 assignees View on GitHub
feature help wanted
Dominant language
JavaScript
Stars
12.3k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

Hi.

Take a look on the example https://sgurin.github.io/jsoneditor/examples/26_autocomplete_by_schema.html

When I am trying to set profession -> level there is only one option available

![image](https://github.com/josdejong/jsoneditor/assets/25930200/e3f0041b-6e26-4811-9bed-3565e9116fe6)

but schema contains 3 refs

"profession": {
"oneOf": [
{
"$ref": "junior"
},
{
"$ref": "experienced"
},
{
"$ref": "senior"
},
]
},

Looks like refs don't work

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.