1.依赖仓库的版本(Dependencies versions):
- react:"^18.3.1",
- form-render: "^2.5.2",
- table-render:-
- antd:"^6.2.2",
2.问题描述(Bug description):
当我升级后点击重复添加的删除按钮, 这个弹出框会偏移到别的位置并且会闪烁一下又隐藏。
如下图
3.出现问题的 schema demo(Reproduction schema demo):
参考官网这个
const schema ={
"type": "object",
"properties": {
"switch1": {
"title": "禁用输入框",
"type": "boolean",
"widget": "switch"
},
"input1": {
"title": "输入框",
"type": "string",
"disabled": "{{ formData.switch1 === true }}"
},
"list": {
"title": "List 场景",
"type": "array",
"widget": "CardList",
"defaultValue": [
{}
],
"items": {
"type": "object",
"widget": "card",
"title": "List.Item",
"properties": {
"switch1": {
"title": "隐藏输入框 2 ",
"type": "boolean",
"widget": "switch"
},
"input1": {
"title": "输入框 1",
"type": "string",
"description": "给输入框 赋值"
},
"input2": {
"title": "输入框 2",
"type": "string",
"defaultValue": "{{ rootValue.input1 }}",
"hidden": "{{ rootValue.switch1 }}"
}
}
}
}
}
}
4.最小复现 demo(Reproduction demo):
form-render demo https://codesandbox.io/s/unruffled-flower-jl78h
table-render demo https://codesandbox.io/s/sweet-euler-bdoty
fr-generator demo https://codesandbox.io/s/s13sh
1.依赖仓库的版本(Dependencies versions):
2.问题描述(Bug description):
当我升级后点击重复添加的删除按钮, 这个弹出框会偏移到别的位置并且会闪烁一下又隐藏。
如下图
3.出现问题的 schema demo(Reproduction schema demo):
4.最小复现 demo(Reproduction demo):
form-render demo https://codesandbox.io/s/unruffled-flower-jl78h
table-render demo https://codesandbox.io/s/sweet-euler-bdoty
fr-generator demo https://codesandbox.io/s/s13sh