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-editor时切换radio/select会报错 #75

Closed
amberPei opened this issue Nov 26, 2024 · 1 comment
Closed

使用json-schema-editor时切换radio/select会报错 #75

amberPei opened this issue Nov 26, 2024 · 1 comment

Comments

@amberPei
Copy link

使用json-schema-editor时,切换radio/select会报错:
Uncaught TypeError: Cannot read properties of undefined (reading 'enum')

感觉是切换之后的新schema中缺少了enum字段。

怎么解决呢?

@wibetter
Copy link
Owner

wibetter commented Dec 3, 2024

新版目前还在迭代中,还没有发布正式版本,可通过在线Demo进行试用:https://wibetter.github.io/json-editor/online-demo/5.0.0/index.html。
备注:所谓新版是指5.x以上版本。

@wibetter wibetter closed this as completed Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants