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
JSONSchema 反显时, schema 的 object类型存在"additionalProperties": false时, 表单项的value值里面存在一个,object 中未定义的 属性时,会出现一个 无法选属性的框,并且出现“添加属性”按钮。
object
"additionalProperties": false
你是如何使用 amis 的? npm
npm
amis 版本是什么?请先在最新 beta 版本测试问题是否存在 存在
粘贴有问题的完整 amis schema 代码:
amis schema
{ "type": "page", "body": { "type": "form", "api": "/amis/api/mock2/form/saveForm", "debug": true, "data": { "value": { "id": "123", "test": "test" } }, "body": [ { "type": "json-schema", "name": "value", "label": "字段值", "schema": { "type": "object", "additionalProperties": false, "properties": { "id": { "type": "number", "title": "ID" } } } } ] } }
The text was updated successfully, but these errors were encountered:
fix: baidu#11612 修复 JSONSchema 反显的时候出现异常
b9a314f
No branches or pull requests
描述问题:
JSONSchema 反显时, schema 的
object
类型存在"additionalProperties": false
时, 表单项的value值里面存在一个,object
中未定义的 属性时,会出现一个 无法选属性的框,并且出现“添加属性”按钮。截图或视频:
如何复现(请务必完整填写下面内容):
你是如何使用 amis 的?
npm
amis 版本是什么?请先在最新 beta 版本测试问题是否存在
存在
粘贴有问题的完整
amis schema
代码:复制schema,必现
The text was updated successfully, but these errors were encountered: