Make TagsBox suggestions case insensitive.
MODIFY
WalletWasabi.Fluent/Controls/TagsBox.axaml.cs
WalletWasabi.Fluent/Controls/TagsBox.axaml.cs
@@ -137,6 +137,8 @@ namespace WalletWasabi.Fluent.Controls
_autoCompleteBox.DropDownClosed += OnAutoCompleteBoxDropDownClosed;
_autoCompleteBox.TemplateApplied += OnAutoCompleteBoxTemplateApplied;
+ _autoCompleteBox.FilterMode = AutoCompleteFilterMode.StartsWith;
+
Disposable.Create(
() =>
{
@@ -158,6 +160,7 @@ namespace WalletWasabi.Fluent.Controls
private void OnAutoCompleteBoxTemplateApplied(object? sender, TemplateAppliedEventArgs e)
{
_internalTextBox = e.NameScope.Find<TextBox>("PART_TextBox");
+
_internalTextBox.WhenAnyValue(x => x.IsFocused)
.Subscribe(isFocused =>
{
@@ -166,6 +169,8 @@ namespace WalletWasabi.Fluent.Controls
return;
}
+
+
var currentText = (_autoCompleteBox?.Text ?? "").Trim();
if (RestrictInputToSuggestions &&

Make TagsBox suggestions case insensitive.