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

Disabled Item Error in ComboBox #794

Closed
Taiizor opened this issue Oct 22, 2023 · 3 comments
Closed

Disabled Item Error in ComboBox #794

Taiizor opened this issue Oct 22, 2023 · 3 comments
Assignees
Labels
bug Something isn't working controls Changes to the appearance or logic of custom controls. locked-due-to-inactivity

Comments

@Taiizor
Copy link

Taiizor commented Oct 22, 2023

Describe the bug

An error occurs if the IsEnabled property of any item in the ComboBox component is set to false.

To Reproduce

`ComboBox Test = new()

Test.Items.Add(new ComboBoxItem()
{
IsEnabled = true,
Content = "True"
});

Test.Items.Add(new ComboBoxItem()
{
IsEnabled = false,
Content = "False"
});`

Expected behavior

No error occurs.

Screenshots

3.0.0-preview.7
Sucrose

3.0.0-preview.8
Sucrose

OS version

Windows 11 22621.2428

.NET version

.NET 8

WPF-UI NuGet version

3.0.0-preview.8 - 3.0.0-preview.9 - 3.0.0-preview.10

Additional context

No response

@Taiizor Taiizor added the bug Something isn't working label Oct 22, 2023
@Taiizor Taiizor changed the title Bug title Disabled Item Error in ComboBox Oct 22, 2023
@wfjsw
Copy link

wfjsw commented Nov 3, 2023

aff99851

<SolidColorBrush Color="{DynamicResource ComboBoxItemForeground}" />

@pomianowski
Copy link
Member

CC @niels9001

@niels9001 niels9001 self-assigned this Nov 23, 2023
@niels9001 niels9001 added the controls Changes to the appearance or logic of custom controls. label Nov 23, 2023
@niels9001 niels9001 mentioned this issue Nov 23, 2023
7 tasks
@niels9001
Copy link
Collaborator

PR to fix this issue: #839

@Taiizor Taiizor closed this as completed Nov 29, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working controls Changes to the appearance or logic of custom controls. locked-due-to-inactivity
Projects
None yet
Development

No branches or pull requests

4 participants