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

Treeselect component, when the value of the node is number=0, allowClear is set to true and cannot be cleared #4648

Closed
1 task
ghost opened this issue Sep 13, 2021 · 1 comment · Fixed by #4655
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Sep 13, 2021

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.2.7

Environment

last

Reproduction link

Edit on CodeSandbox

Steps to reproduce

treeselect组件,节点的value为number=0 时候,allowClear 设置true 不能清空

What is expected?

支持清空 value===0的选项

What is actually happening?

不能清空

@github-actions github-actions bot changed the title treeselect组件,节点的value为number=0 时候,allowClear 设置true 不能清空 Treeselect component, when the value of the node is number=0, allowClear is set to true and cannot be cleared Sep 13, 2021
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant