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
mat-form-field with outline appearance doesn't resize border when label content change dynamicaly
What is the expected behavior?
Borders must resize themselves automatically to take into account the dynamic changes of the label
What is the current behavior?
The borders take into account the initial value of the label but after if this value changes and it is longer than the initial value, the borders do not adapt to this change thus leaving a border overlapping the label
What are the steps to reproduce?
from this stackblitz, first when the form launch the label of the outline form field have the value "initial" and after write in first form field that is bind to the second form field mat-label the value "Long dynamic label" you will see the border will overlap the label https://angular-axyjeg.stackblitz.io (https://stackblitz.com/edit/angular-axyjeg)
Before
After
The text was updated successfully, but these errors were encountered:
Bug :
mat-form-field with outline appearance doesn't resize border when label content change dynamicaly
What is the expected behavior?
Borders must resize themselves automatically to take into account the dynamic changes of the label
What is the current behavior?
The borders take into account the initial value of the label but after if this value changes and it is longer than the initial value, the borders do not adapt to this change thus leaving a border overlapping the label
What are the steps to reproduce?
from this stackblitz, first when the form launch the label of the outline form field have the value "initial" and after write in first form field that is bind to the second form field mat-label the value "Long dynamic label" you will see the border will overlap the label
https://angular-axyjeg.stackblitz.io (https://stackblitz.com/edit/angular-axyjeg)
Before
After
The text was updated successfully, but these errors were encountered: