Skip to content

Commit

Permalink
AutoSuggestBox when using in a list will override the value of binded…
Browse files Browse the repository at this point in the history
… property (#1312)

Fixes #1283
  • Loading branch information
nitheeshgovind authored Feb 1, 2025
1 parent c896933 commit 1cf0e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Wpf.Ui/Controls/AutoSuggestBox/AutoSuggestBox.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
Icon="{TemplateBinding Icon}"
IconPlacement="Right"
PlaceholderText="{TemplateBinding PlaceholderText}"
Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Text, Mode=OneWayToSource, UpdateSourceTrigger=PropertyChanged}" />
Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Text, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />

<Popup
x:Name="PART_SuggestionsPopup"
Expand Down

0 comments on commit 1cf0e0c

Please sign in to comment.