-
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
NgxMask doesn't work with matAutocomplete #823
Comments
I confirm that doesn't work, same error:
|
Hello everyone. I also face that issue with matAutocomplete, any thoughts on this? |
As I understood, the only way is to extend ngx-mask functionality with its own autocomplete implementation, but you can't use matAutocomplete along with ngx-mask because they both are custom form controls with their own ValueAccessor. But angular allows you to use only one ValueAccessor. You can either implement your own autocomplete for ngx-mask form controls, or your own mask for matAutocomplete form controls (that was our way). |
I had the same problem: I needed to mask a Similar to what anmal did we "hacked" a vanilla-text-mask to the |
Hello. I have this problem with matAutocomplete too. Do you have any news? Or any idea where the root cause is coming from? From ngx-mask or from Angular Material? |
I'm trying to use NgxMask along with matAutocomplete.
They don't work together. I get an error:
Error: More than one custom value accessor matches form control with unspecified name attribute
Please, make them compatible or add your own autocomplete feature to NgxMask.
Thank you in advance!
The text was updated successfully, but these errors were encountered: