From eaa7a688f41c24e30fe9d22db8c2b926538b6260 Mon Sep 17 00:00:00 2001 From: sumeyyeKurtulus Date: Tue, 4 Jun 2024 11:28:00 +0300 Subject: [PATCH 1/2] fix: localization fix for extra form properties --- .../extensible-form-prop.component.html | 30 ++++++++++++------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/npm/ng-packs/packages/components/extensible/src/lib/components/extensible-form/extensible-form-prop.component.html b/npm/ng-packs/packages/components/extensible/src/lib/components/extensible-form/extensible-form-prop.component.html index 1f8833f929..8b913b671c 100644 --- a/npm/ng-packs/packages/components/extensible/src/lib/components/extensible-form/extensible-form-prop.component.html +++ b/npm/ng-packs/packages/components/extensible/src/lib/components/extensible-form/extensible-form-prop.component.html @@ -1,4 +1,7 @@ - + @@ -50,9 +53,7 @@ class="form-select form-control" > @for (option of options$ | async; track option.value) { - } @@ -152,7 +153,7 @@ aria-hidden="true" [ngClass]="{ 'fa-eye-slash': !showPassword, - 'fa-eye': showPassword + 'fa-eye': showPassword, }" > @@ -160,9 +161,7 @@ @if (prop.formText) { - {{ - prop.formText | abpLocalization - }} + {{ prop.formText | abpLocalization }} } @@ -171,12 +170,21 @@ From c302936b7e1abe29ac49b60f813aab4310420af1 Mon Sep 17 00:00:00 2001 From: sumeyyeKurtulus Date: Tue, 4 Jun 2024 11:28:29 +0300 Subject: [PATCH 2/2] update: delete unused import from DEFAULT_USERS_CREATE_FORM_PROPS --- .../identity/src/lib/defaults/default-users-form-props.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm/ng-packs/packages/identity/src/lib/defaults/default-users-form-props.ts b/npm/ng-packs/packages/identity/src/lib/defaults/default-users-form-props.ts index 9f802c8283..6b0b03ccf0 100644 --- a/npm/ng-packs/packages/identity/src/lib/defaults/default-users-form-props.ts +++ b/npm/ng-packs/packages/identity/src/lib/defaults/default-users-form-props.ts @@ -1,5 +1,5 @@ import { Validators } from '@angular/forms'; -import { ConfigStateService, CurrentUserDto } from '@abp/ng.core'; +import { ConfigStateService } from '@abp/ng.core'; import { getPasswordValidators } from '@abp/ng.theme.shared'; import { ePropType, FormProp } from '@abp/ng.components/extensible'; import { IdentityUserDto } from '@abp/ng.identity/proxy';