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

CRUD 组件多选事件缺少数据 #9780

Open
beloved-zh opened this issue Mar 12, 2024 · 2 comments
Open

CRUD 组件多选事件缺少数据 #9780

beloved-zh opened this issue Mar 12, 2024 · 2 comments

Comments

@beloved-zh
Copy link

描述问题:

问题1、CRUD2 多选默认渲染的 renderSelection renderTag 样式错乱,见图1
Tag 样式都是在 .cxd-Crud 下的,CRUD2 添加外部样式 .cxd-Crud 目前可临时解决
问题2、CRUD2 renderSelection 没有判断数量使用 TooltipWrapper,见图2
问题3、CRUD或者CRUD2 renderSelection 通过Tag删除选中项无法触发 onSelect
问题4、CRUD或者CRUD2 开启了 keepItemSelectionOnPageChange onSelect函数返回的 SelectedItems 只有当前页数据
问题5、CRUD或者CRUD2 没有 updateSelectData,无法更新数据域中的 SelectedItems

截图或视频:

image
图1

image
图2

如何复现(请务必完整填写下面内容):

  1. 你是如何使用 amis 的?
    sdk

  2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在
    最新版

  3. 粘贴有问题的完整 amis schema 代码:

  4. 操作步骤
    CRUD 或 CRUD2 开启 keepItemSelectionOnPageChange 即可复现

@cainiaokan
Copy link

确认有这个问题

@cainiaokan
Copy link

#11350

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

No branches or pull requests

2 participants