Skip to content

fix(module:tree-select): clear selected nodes when user set value#8693

Merged
Laffery merged 2 commits into
NG-ZORRO:masterfrom
Zz-ZzzZ:fix-tree-select
Aug 16, 2024
Merged

fix(module:tree-select): clear selected nodes when user set value#8693
Laffery merged 2 commits into
NG-ZORRO:masterfrom
Zz-ZzzZ:fix-tree-select

Conversation

@Zz-ZzzZ

@Zz-ZzzZ Zz-ZzzZ commented Aug 12, 2024

Copy link
Copy Markdown
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Application (the showcase website) / infrastructure changes
  • Other... Please describe:

What is the current behavior?

Issue Number: Closes #8661

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@Zz-ZzzZ Zz-ZzzZ requested a review from hsuanxyz as a code owner August 12, 2024 03:55
@zorro-bot

zorro-bot Bot commented Aug 12, 2024

Copy link
Copy Markdown

This preview will be available after the AzureCI is passed.

@codecov

codecov Bot commented Aug 12, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.53%. Comparing base (63f72bb) to head (6cba48f).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8693   +/-   ##
=======================================
  Coverage   91.52%   91.53%           
=======================================
  Files         536      536           
  Lines       18435    18438    +3     
  Branches     2816     2816           
=======================================
+ Hits        16873    16877    +4     
  Misses       1242     1242           
+ Partials      320      319    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@HyperLife1119 HyperLife1119 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Laffery Laffery merged commit 91927bc into NG-ZORRO:master Aug 16, 2024
@Zz-ZzzZ Zz-ZzzZ deleted the fix-tree-select branch August 19, 2024 00:42
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.

TreeSelect 树选择在单选的情况下,不会遍历整棵树,导致后面的选中样式不会被清除

3 participants