Skip to content
New issue

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

JSON schema enum dropdown not working for conditionals like oneOf, anyOf, allOf #1282

Closed
on8 opened this issue Mar 24, 2021 · 3 comments · Fixed by #1297
Closed

JSON schema enum dropdown not working for conditionals like oneOf, anyOf, allOf #1282

on8 opened this issue Mar 24, 2021 · 3 comments · Fixed by #1297

Comments

@on8
Copy link

on8 commented Mar 24, 2021

See this Jsbin: https://jsbin.com/fufabew/edit?html,output

Are there another ways to define the schema in order for both conditionals and enum dropdowns to work?

Thanks.

@josdejong
Copy link
Owner

Hm yeah, I think this is the same issue as discussed in #473. I'm not aware of a workaround for this.

Help to fix it would be very welcome. @Hagartinger or @maufl this is probably an issue in Node._findSchema in which you've been doing improvements some time ago. Would one of you be interested to have a look into this?

@maufl
Copy link
Contributor

maufl commented Apr 11, 2021

I think the problem here is that Node._findSchema searches in only one sub schema or the root schema because of this line.

@josdejong
Copy link
Owner

Fixed now in v9.4.0

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

Successfully merging a pull request may close this issue.

3 participants