Skip to content

Commit

Permalink
feat(dynamic-form): cria propriedade hideLabelStatus na interface
Browse files Browse the repository at this point in the history
Cria propriedade `hideLabelStatus` na interface `PoDynamicFormField`

fixes : DTHFUI-9751
  • Loading branch information
jcorrea97 authored and CSimoesJr committed Oct 18, 2024
1 parent 929b241 commit 738f6f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ export interface PoDynamicFormField extends PoDynamicField {
/** Texto exibido quando o valor do componente for *false*. */
booleanFalse?: string;

/** Indica se o status do `model` será escondido visualmente ao lado do switch */
hideLabelStatus?: boolean;

/**
* Indica se o `model` receberá o valor formatado pelas propriedades `p-label-on` e `p-label-off` ou
* apenas o valor puro (sem formatação).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@
[p-label-off]="field.booleanFalse"
[p-label-on]="field.booleanTrue"
[p-label-position]="field.labelPosition"
[p-hide-label-status]="field.hideLabelStatus"
(p-change)="onChangeField(field)"
>
</po-switch>
Expand Down

0 comments on commit 738f6f2

Please sign in to comment.