Browse Source
Merge pull request #6467 from abpframework/stsrki/dev-autofocus
Autofocus search and modal fields
pull/6469/head
Halil İbrahim Kalkan
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
7 additions and
7 deletions
-
modules/feature-management/src/Volo.Abp.FeatureManagement.Blazor/Components/FeatureManagementModal.razor
-
modules/identity/src/Volo.Abp.Identity.Blazor/Pages/Identity/RoleManagement.razor
-
modules/identity/src/Volo.Abp.Identity.Blazor/Pages/Identity/UserManagement.razor
-
modules/tenant-management/src/Volo.Abp.TenantManagement.Blazor/Pages/TenantManagement/TenantManagement.razor
|
|
|
@ -71,7 +71,7 @@ |
|
|
|
if (feature.ValueType is ToggleStringValueType) |
|
|
|
{ |
|
|
|
<Field> |
|
|
|
<Check TValue="bool" @bind-checked="@ToggleValues[feature.Name]">@feature.DisplayName</Check> |
|
|
|
<Check TValue="bool" @bind-Checked="@ToggleValues[feature.Name]">@feature.DisplayName</Check> |
|
|
|
</Field> |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -89,7 +89,7 @@ |
|
|
|
<Validation MessageLocalizer="@LH.Localize"> |
|
|
|
<Field> |
|
|
|
<FieldLabel>@L["DisplayName:RoleName"]</FieldLabel> |
|
|
|
<TextEdit @bind-Text="@NewEntity.Name"> |
|
|
|
<TextEdit @bind-Text="@NewEntity.Name" Autofocus="true"> |
|
|
|
<Feedback> |
|
|
|
<ValidationError /> |
|
|
|
</Feedback> |
|
|
|
@ -127,7 +127,7 @@ |
|
|
|
<Validation MessageLocalizer="@LH.Localize"> |
|
|
|
<Field> |
|
|
|
<FieldLabel>@L["DisplayName:RoleName"]</FieldLabel> |
|
|
|
<TextEdit @bind-Text="EditingEntity.Name"> |
|
|
|
<TextEdit @bind-Text="EditingEntity.Name" Autofocus="true"> |
|
|
|
<Feedback> |
|
|
|
<ValidationError /> |
|
|
|
</Feedback> |
|
|
|
|
|
|
|
@ -97,7 +97,7 @@ |
|
|
|
<Validation MessageLocalizer="@LH.Localize"> |
|
|
|
<Field> |
|
|
|
<FieldLabel>@L["DisplayName:UserName"]</FieldLabel> |
|
|
|
<TextEdit @bind-Text="NewEntity.UserName"> |
|
|
|
<TextEdit @bind-Text="NewEntity.UserName" Autofocus="true"> |
|
|
|
<Feedback> |
|
|
|
<ValidationError /> |
|
|
|
</Feedback> |
|
|
|
@ -208,7 +208,7 @@ |
|
|
|
<Validation MessageLocalizer="@LH.Localize"> |
|
|
|
<Field> |
|
|
|
<FieldLabel>@L["DisplayName:UserName"]</FieldLabel> |
|
|
|
<TextEdit @bind-Text="EditingEntity.UserName"> |
|
|
|
<TextEdit @bind-Text="EditingEntity.UserName" Autofocus="true"> |
|
|
|
<Feedback> |
|
|
|
<ValidationError /> |
|
|
|
</Feedback> |
|
|
|
|
|
|
|
@ -83,7 +83,7 @@ |
|
|
|
<Validation MessageLocalizer="@LH.Localize"> |
|
|
|
<Field> |
|
|
|
<FieldLabel>@L["TenantName"]</FieldLabel> |
|
|
|
<TextEdit @bind-Text="@NewEntity.Name"> |
|
|
|
<TextEdit @bind-Text="@NewEntity.Name" Autofocus="true"> |
|
|
|
<Feedback> |
|
|
|
<ValidationError /> |
|
|
|
</Feedback> |
|
|
|
@ -137,7 +137,7 @@ |
|
|
|
<Validation MessageLocalizer="@LH.Localize"> |
|
|
|
<Field> |
|
|
|
<FieldLabel>@L["TenantName"]</FieldLabel> |
|
|
|
<TextEdit @bind-Text="@EditingEntity.Name"> |
|
|
|
<TextEdit @bind-Text="@EditingEntity.Name" Autofocus="true"> |
|
|
|
<Feedback> |
|
|
|
<ValidationError /> |
|
|
|
</Feedback> |
|
|
|
|