ant-design-vue
ant-design-vue copied to clipboard
Tree-Select组件,在antd的2.x 中,选项使用了disabled为true的属性,但是input框中仍能取消勾选
trafficstars
- [ ] I have searched the issues of this repository and believe that this is not a duplicate.
Version
2.2.6
Environment
vue: 3.2.6
Reproduction link
Steps to reproduce
如示例,Child Node3已被选中,但是被禁用了,仍然可以通过input框中的 clearIcon 去叉掉这个选项,这不符合禁用逻辑。
What is expected?
被禁用的选项,在input框中不显示 clearIcon,用户无法通过叉号取消选项。
What is actually happening?
antd的2.x版本,不支持自定义 #tagRender 中的closable。除了让项目中的antd版本升级,有没有别的解决办法?
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.