From d0a1dffc76b6f2f38616556d0f57e8b9af0dc526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Tue, 22 Sep 2020 20:20:43 +0300 Subject: [PATCH] Wrap the role creation form by EditForm to submit the form with Enter key --- .../Pages/Identity/RoleManagement.razor | 20 ++++++++++--------- .../Volo.Abp.Identity.Blazor/_Imports.razor | 3 ++- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/modules/identity/src/Volo.Abp.Identity.Blazor/Pages/Identity/RoleManagement.razor b/modules/identity/src/Volo.Abp.Identity.Blazor/Pages/Identity/RoleManagement.razor index ce8e9175fa..6f79799a6a 100644 --- a/modules/identity/src/Volo.Abp.Identity.Blazor/Pages/Identity/RoleManagement.razor +++ b/modules/identity/src/Volo.Abp.Identity.Blazor/Pages/Identity/RoleManagement.razor @@ -84,18 +84,20 @@ - - @L["DisplayName:RoleName"] - - - - @L["DisplayName:IsDefault"] - @L["DisplayName:IsPublic"] - + + + @L["DisplayName:RoleName"] + + + + @L["DisplayName:IsDefault"] + @L["DisplayName:IsPublic"] + + - + diff --git a/modules/identity/src/Volo.Abp.Identity.Blazor/_Imports.razor b/modules/identity/src/Volo.Abp.Identity.Blazor/_Imports.razor index 4685ac9893..bcb4626f1f 100644 --- a/modules/identity/src/Volo.Abp.Identity.Blazor/_Imports.razor +++ b/modules/identity/src/Volo.Abp.Identity.Blazor/_Imports.razor @@ -1,5 +1,6 @@ @using Microsoft.AspNetCore.Components.Web @using Volo.Abp.AspNetCore.Components.WebAssembly +@using Microsoft.AspNetCore.Components.Forms @using Volo.Abp.BlazoriseUI @using Blazorise -@using Blazorise.DataGrid \ No newline at end of file +@using Blazorise.DataGrid