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

fix(module: tree-select): value bind incorrectly when default value was set #2990

Merged
merged 3 commits into from
Jan 7, 2023

Conversation

ElderJames
Copy link
Member

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • Bundle size optimization
  • Performance optimization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

fixed #2878

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English Fixed TreeSelect value bind incorrectly when default value was set
🇨🇳 Chinese 修复 TreeSelect 当绑定了默认值后,不能正确修改值的问题

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • Changelog is provided or not needed

@github-actions
Copy link

github-actions bot commented Jan 6, 2023

@codecov
Copy link

codecov bot commented Jan 7, 2023

Codecov Report

Base: 43.61% // Head: 43.56% // Decreases project coverage by -0.05% ⚠️

Coverage data is based on head (a9a3131) compared to base (9f83920).
Patch coverage: 21.73% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2990      +/-   ##
==========================================
- Coverage   43.61%   43.56%   -0.06%     
==========================================
  Files         551      551              
  Lines       25923    25936      +13     
  Branches      263      263              
==========================================
- Hits        11306    11298       -8     
- Misses      14577    14598      +21     
  Partials       40       40              
Impacted Files Coverage Δ
components/auto-complete/AutoComplete.razor 0.00% <ø> (ø)
components/auto-complete/AutoComplete.razor.cs 0.00% <0.00%> (ø)
components/auto-complete/AutoCompleteInput.cs 0.00% <0.00%> (ø)
components/auto-complete/AutoCompleteSearch.cs 0.00% <0.00%> (ø)
components/input/Input.cs 69.67% <ø> (+1.21%) ⬆️
components/tree-select/TreeSelect.razor.cs 0.00% <0.00%> (ø)
components/input/TextArea.razor.cs 74.28% <100.00%> (ø)
components/select/SelectBase.cs 70.68% <100.00%> (-0.24%) ⬇️
components/core/Base/AntComponentBase.cs 53.57% <0.00%> (-3.58%) ⬇️
components/drawer/Drawer.razor.cs 90.25% <0.00%> (-3.25%) ⬇️
... and 4 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ElderJames ElderJames merged commit 266542b into master Jan 7, 2023
@ElderJames ElderJames deleted the fix/tree-select-value-change branch January 7, 2023 17:33
kooliokey pushed a commit to kooliokey/ant-design-blazor that referenced this pull request Jan 15, 2023
…as set (ant-design-blazor#2990)

* fix(module: tree-select): value bind incorrectly when default value was set

* fix value on clear

* fix build error
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.

Default value error after TreeSelect component selection
1 participant