Skip to content

Commit

Permalink
fix(page-login): corrige literals rememberUser
Browse files Browse the repository at this point in the history
Corrige literals `rememberUser` que não estava aparecendo ao lado do switch

fixes DTHFUI-9751
  • Loading branch information
jcorrea97 authored and CSimoesJr committed Oct 18, 2024
1 parent 738f6f2 commit 45c7d45
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,18 @@ export abstract class PoPageLoginBaseComponent implements OnDestroy {
*/
@Input('p-no-autocomplete-password') noAutocompletePassword: boolean = true;

/**
* @optional
*
* @description
*
* Indica se o status do `model` do switch de lembrar o usuário será escondido visualmente.
*
* > Por padrão será atribuído `false`.
* @default `false`
*/
@Input({ alias: 'p-hide-label-status', transform: convertToBoolean }) hideLabelStatus: boolean = false;

/**
* @optional
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ <h1>{{ productName }}</h1>
[p-label-off]="pageLoginLiterals.rememberUser"
[p-label-on]="pageLoginLiterals.rememberUser"
(keyup.enter)="loginForm.valid && onLoginSubmit()"
[p-hide-label-status]="hideLabelStatus"
>
</po-switch>

Expand Down

0 comments on commit 45c7d45

Please sign in to comment.