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

[CheckBoxGroup] :max导致组件禁用行为不正确 #2908

Closed
sumy7 opened this issue Nov 15, 2023 · 2 comments · Fixed by #2911
Closed

[CheckBoxGroup] :max导致组件禁用行为不正确 #2908

sumy7 opened this issue Nov 15, 2023 · 2 comments · Fixed by #2911
Labels
to be published fixed, not be published

Comments

@sumy7
Copy link

sumy7 commented Nov 15, 2023

tdesign-vue 版本

1.7.2

重现链接

https://codesandbox.io/s/6mgspc?file=/src/demo.vue

重现步骤

文档中 联动多选框 的示例代码,添加属性 :max=2 后,选中数量 >=2 时,会出现选项框禁用
image
取消其中一个选中后,其余不会恢复
image
继续选中后,所有选项被禁用
image
点击重置按钮没有恢复
image

期望结果

超过限制数量后
选中的checkbox除了本身设置disabled的组件外,应该展示为非disabled;
非选中状态的checkbox为disabled状态;
设置v-model后,需要能够重置组件的disabled状态

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Copy link
Contributor

👋 @sumy7,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@chaishi
Copy link
Collaborator

chaishi commented Nov 18, 2023

resolved in #2911 待发布 to be published

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to be published fixed, not be published
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants