You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since end of September the default behavior of mad-readonly-form-field (and mad-readonly-form-field-wrapper) has changed. Numbers are now formatted per default.
Expected Behavior
Not to format numbers per default, as before.
Current Behavior
Numbers are formatted, no option to disable this.
Possible Solution
Add an additional @input to explicitly enable number conversion, eg
@Input('formatNumber') formatNumber = false;
This is required in both mad-readonly-form-field and mad-readonly-form-field-wrapper
The text was updated successfully, but these errors were encountered:
Laess3r
changed the title
bug: Behavior change in mat-readonly-form-field
bug: Numbers in mad-readonly-form-field are now formatted automatically
Dec 17, 2020
Bug Report
Since end of September the default behavior of mad-readonly-form-field (and mad-readonly-form-field-wrapper) has changed. Numbers are now formatted per default.
Expected Behavior
Not to format numbers per default, as before.
Current Behavior
Numbers are formatted, no option to disable this.
Possible Solution
Add an additional @input to explicitly enable number conversion, eg
@Input('formatNumber') formatNumber = false;
This is required in both mad-readonly-form-field and mad-readonly-form-field-wrapper
The text was updated successfully, but these errors were encountered: