Bug title Checkcombox绑定有问题
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start with the CheckComboBox usage and the ListBoxAttach.SelectedItems binding shown in the report; reproduce the RelativeSource warning and the null value after a UI change. Done means the binding works without the warning and backend updates and interface changes both preserve the selected values.
Written by the indexing model from the issue text.
Description
Describe the bug
CheckComboBox多选框使用hc:ListBoxAttach.SelectedItems绑定选择项,会报警告找不到源: RelativeSource FindAncestor, AncestorType='HandyControl.Controls.TagContainer', AncestorLevel='1'。且绑定选择的内容可以通过后端更新,通过界面修改后传递过来的值就是null的了
Steps to reproduce the bug
<hc:CheckComboBox
hc:InfoElement.ShowClearButton="True"
hc:InfoElement.Title="筛选条件"
hc:ListBoxAttach.SelectedItems="{Binding SelectConditions}"
ItemsSource="{Binding FilterConditions}"
ShowSelectAllButton="True" />
Expected behavior
No response
Screenshots
No response
NuGet package version
None
IDE
No response
Framework type
No response
Windows version
No response
Additional context
No response
- Dominant language
- C#
- Stars
- 7.2k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from HandyOrg/HandyControl
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
HandyOrg/HandyControl#1818 · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
HandyOrg/HandyControl#1809 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
HandyOrg/HandyControl#1820 ·
-
不能够独立的引入用户认为需要的部分Open
Difficulty 4/5 3-5 days Newbie friendliness 48/100
HandyOrg/HandyControl#1816 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
HandyOrg/HandyControl#1813 ·
All issues in HandyOrg/HandyControl
Similar issues
-
[Simple] NavigationBar primary commands do not render AppBarButton.Content when it is a UIElementOpencontrol/navigationbar kind/bug triage/untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
unoplatform/uno.toolkit.ui#1652 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
microsoft/copilot-camp#1053 ·
Maintainers usually reply within 1 day
-
bug effort:S P3
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
nightscout/nocturne#1861 ·
Maintainers usually reply within 1 day
-
agentic-workflows area/Docs partner/agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
microsoft/fluentui-blazor#5364 ·
Maintainers usually reply within 1 day