update user log dropdown display when clicked

This commit is contained in:
kwan.nguyen 2025-01-07 13:15:17 +07:00
parent c460fcca9f
commit 7f32fa1cb8
2 changed files with 10 additions and 1 deletions

View File

@ -45,7 +45,8 @@
TextMemberPath="UserName"
PlaceholderText="Users"
Margin="5,0,5,0"
HorizontalAlignment="Stretch" VerticalAlignment="Center"/>
HorizontalAlignment="Stretch" VerticalAlignment="Center"
GotFocus="Users_GotFocus"/>
<ComboBox
Grid.Column="2"
x:Name="Types"

View File

@ -55,5 +55,13 @@ namespace PCUT.Pages
{
ViewModels.Pagination.Page++;
}
private void Users_GotFocus(object sender, RoutedEventArgs e)
{
if (!Users.IsSuggestionListOpen)
{
Users.IsSuggestionListOpen = true;
}
}
}
}