Skip to content

Commit

Permalink
chore(doc): code review @lvoliveira
Browse files Browse the repository at this point in the history
  • Loading branch information
edetec committed Aug 21, 2018
1 parent ce821dc commit 25c2a70
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ng-xform/field-components/base-dynamic-field.component.ts
Expand Up @@ -17,6 +17,10 @@ export class BaseDynamicFieldComponent<T extends DynamicField> implements OnInit
control: FormControl;
visible = true;
public hideLabelOnEdit = false;

/** If true, the read-only state will show the value obtained from the formattedValue method;
* otherwise, will keep the component to manage this behavior.
*/
public useFormattedValueOnReadonly = true;

private valueChangeSubscription: Subscription;
Expand Down

0 comments on commit 25c2a70

Please sign in to comment.