allow tagsbox to work without suggestions.
MODIFY
WalletWasabi.Fluent/Controls/TagsBox.axaml.cs
WalletWasabi.Fluent/Controls/TagsBox.axaml.cs
@@ -256,7 +256,7 @@ namespace WalletWasabi.Fluent.Controls
return;
}
}
- else if (suggestions != null)
+ else
{
foreach (var tag in splitTags)
{
@@ -266,6 +266,8 @@ namespace WalletWasabi.Fluent.Controls
continue;
}
+ if (suggestions != null)
+ {
var keywordIsInSuggestions =
suggestions.Any(
x => x.Equals(tag, StringComparison.InvariantCultureIgnoreCase));
@@ -275,6 +277,7 @@ namespace WalletWasabi.Fluent.Controls
SelectTag(tag);
}
}
+ }
Dispatcher.UIThread.Post(() => autoCompleteBox.ClearValue(AutoCompleteBox.TextProperty));
return;

allow tagsbox to work without suggestions.