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
input-table 位于弹窗的 form 中,其 picker 类型的列在新增状态下,无法选择值,打开 picker 弹窗后,选中值点确认/或者直接点取消,都会导致 input-table 正在新增的这一行消失。 但是,编辑状态的行没有这个问题。
你是如何使用 amis 的? npm
amis 版本是什么?请先在最新 beta 版本测试问题是否存在 6.3.0 6.4.1
粘贴有问题的完整 amis schema 代码:
amis schema
{ "type": "page", "body": { "type": "action", "actionType": "dialog", "label": "测试弹窗中的 input-table 中的 picker", "dialog": { "body": { "type": "form", "body": [ { "type": "input-table", "name": "table", "addable": true, "editable": true, "columns": [ { "type": "picker", "name": "picker", "label": "picker", "options": [ { "label": "A", "value": "a" }, { "label": "B", "value": "b" }, { "label": "C", "value": "c" } ] }, { "name": "b", "label": "B" } ] } ] } } } }
测试弹窗中的 input-table 中的 picker
新增
确认
取消
The text was updated successfully, but these errors were encountered:
我跟踪了一下代码,发现问题发生过程是这样的(下面的 Dialog 皆是指 input-table 及其所属的 form 所在的 Dialog):
Sorry, something went wrong.
fix: 修复弹窗嵌套弹窗观察动作执行逻辑错误 Close: baidu#10200
59ea01f
fix: 修复弹窗嵌套弹窗观察动作执行逻辑错误 Close: #10200 (#10213)
f3bdc83
2betop
Successfully merging a pull request may close this issue.
描述问题:
input-table 位于弹窗的 form 中,其 picker 类型的列在新增状态下,无法选择值,打开 picker 弹窗后,选中值点确认/或者直接点取消,都会导致 input-table 正在新增的这一行消失。
但是,编辑状态的行没有这个问题。
截图或视频:
2024-05-10.14.40.39.mov
如何复现(请务必完整填写下面内容):
你是如何使用 amis 的?
npm
amis 版本是什么?请先在最新 beta 版本测试问题是否存在
6.3.0
6.4.1
粘贴有问题的完整
amis schema
代码:测试弹窗中的 input-table 中的 picker
按钮新增
按钮确认
按钮,或直接点击取消
按钮The text was updated successfully, but these errors were encountered: