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

fix: inputTable组件中嵌套picker时数据域更新问题 #9094

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

huangxj29
Copy link
Contributor

描述问题:
inputTable组件中嵌套picker,picker 组件设置 "joinValues": false 时,用户选择picker组件内容后删除,然后选择新加行,原来删除的内容会重新回显

如何复现(请务必完整填写下面内容):
{ "type": "page", "body": { "type": "form", "debug": "true", "data": { "table": [ { "a": "a1", "b": "b1", } ] }, "api": "/api/mock2/form/saveForm", "body": [ { "type": "input-table", "name": "table", "addable": true, "columns": [ { "name": "a", "label": "A" }, { "name": "b", "label": "B" }, { "type": "picker", "name": "picker", "needConfirm": false, "joinValues": false, "options": [ { "label": "A", "value": "a" }, { "label": "B", "value": "b" }, { "label": "C", "value": "c" } ], }, ] } ] } }

@github-actions github-actions bot added the fix label Dec 11, 2023
Copy link

👍 Thanks for this!
🏷 I have applied any labels matching special text in your issue.

Please review the labels and make any necessary changes.

@lurunze1226
Copy link
Collaborator

麻烦补充一下单测场景呢

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

Successfully merging this pull request may close these issues.

2 participants