We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ComboBox
BreadcrumbBar
<BreadcrumbBar ItemsSource="{x:Bind ViewModel.Path, Mode=OneWay}"> <BreadcrumbBar.Template> <DataTemplate x:DataType="slf:FloorItemViewModel"> <BreadcrumbBarItem Content="{Binding}"> <BreadcrumbBarItem.ContentTemplate> <DataTemplate x:DataType="slf:FloorItemViewModel"> <ComboBox />
Putting a ComboBox in any form crashes the app. But if you replace UI with a ComboBox later it works
BeadcrumbBar
No crash
No response
WinUI 3 - Windows App SDK 1.6.1: 1.6.240923002
Windows 11 (24H2): Build 26100.2033
The text was updated successfully, but these errors were encountered:
Workaround is
<DataTemplate x:DataType="slf:FloorItemViewModel"> <Grid> <i:Interaction.Behaviors> <ic:EventTriggerBehavior EventName="Loaded"> <ic:ChangePropertyAction TargetObject="{Binding ElementName=FloorsSelector}" PropertyName="Visibility" Value="Visible"/> </ic:EventTriggerBehavior> </i:Interaction.Behaviors> <ComboBox x:Name="FloorsSelector" x:DeferLoadStrategy="Lazy" ItemsSource="{Binding Items}" IsTextSearchEnabled="True" PlaceholderText="Select floor" SelectedValuePath="Name" SelectedItem="{Binding SelectedItem, Mode=TwoWay}"> <ComboBox.ItemTemplate> <DataTemplate x:DataType="domain:BuildingFloor"> <TextBlock Text="{x:Bind Name}" /> </DataTemplate> </ComboBox.ItemTemplate> </ComboBox> </Grid> </DataTemplate>
x:DeferLoadStrategy="Lazy" + trigger
x:DeferLoadStrategy="Lazy"
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Putting a
ComboBox
in any form crashes the app.But if you replace UI with a
ComboBox
later it worksSteps to reproduce the bug
BeadcrumbBar
as described aboveExpected behavior
No crash
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.6.1: 1.6.240923002
Windows version
Windows 11 (24H2): Build 26100.2033
Additional context
No response
The text was updated successfully, but these errors were encountered: