-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
interference mask and title of input #1264
Comments
@mbsh-code Hi. Could you provide stackblitz ?? |
Same here. I have a dialog with 9 Angular Material form fields. The last 4 do not float the label when there is data to repopulate for them when the FormGroup is created. All the other fields with masks are fine. When the problematic fields are empty and you add data, they behave fine. All 9 of my fields are currency fields and have the following mask parameters: All my problematic fields are inside a ngFor loop. Fields placed after (below) the looped fields and after the are fine. makes no difference.
Removing the still has the 4 fields in a loop being problematic (and the field after is fine). Programmatically setting focus to any of the 4 problematic fields makes all their labels behave fine. Also, removing the looped fields completely, but keeping the last field inside the
It does not fix it if I remove the thousandSeparator or prefix or [leadZero] Angular: 16.2.12 In summary, the labels do not float when:
|
Unfortunately, I cannot do this |
I have the same problem |
In my case, I have a I got around it by adding
Hope this helps! |
Yeah, we are floating the label always now as a work-around. But I don't want it to float when there is no data. |
we have a problem when using mask in input component ، the problem is that title of input and mask interference together we are using angular material version 16.2.0 and angular version is also 16.2.0 and our input of forms generated dynamically
how to fix issue?
Thanks
The text was updated successfully, but these errors were encountered: