Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Focus item name input after switching type (#1473)
Leendert de Borst0c08826ce5e0
diff --git a/apps/server/AliasVault.Client/Main/Components/Widgets/CreateNewIdentityWidget.razor b/apps/server/AliasVault.Client/Main/Components/Widgets/CreateNewIdentityWidget.razorindex e6268888e..5bf07af17 100644--- a/apps/server/AliasVault.Client/Main/Components/Widgets/CreateNewIdentityWidget.razor+++ b/apps/server/AliasVault.Client/Main/Components/Widgets/CreateNewIdentityWidget.razor@@ -184,10 +184,14 @@/// <summary>/// Select an item type./// </summary>- private void SelectItemType(string itemType)+ private async Task SelectItemType(string itemType){Model.ItemType = itemType;StateHasChanged();++ // Refocus the service name input so user can continue typing+ await Task.Delay(50);+ await JsInteropService.FocusElementById("serviceName");}/// <summary>