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
I'd like to propose adding an ngIf on both the .mat-input-prefix and .mat-input-suffix divs in the md-input-container template so that they are only in the DOM if the user has included a prefix/suffix.
What is the use-case or motivation for changing an existing behavior?
I'd like to be able to add space between the infix and the affixes, but only when an affix is present.
What is the current behavior?
Currently, if I add any sort of spacing there, the space shows up even without the affix, as seen in the second input here.
The text was updated successfully, but these errors were encountered:
Proposal:
I'd like to propose adding an
ngIf
on both the.mat-input-prefix
and.mat-input-suffix
divs in themd-input-container
template so that they are only in the DOM if the user has included a prefix/suffix.What is the use-case or motivation for changing an existing behavior?
I'd like to be able to add space between the infix and the affixes, but only when an affix is present.
What is the current behavior?
Currently, if I add any sort of spacing there, the space shows up even without the affix, as seen in the second input here.
The text was updated successfully, but these errors were encountered: