ngx-mask
ngx-mask copied to clipboard
Can't bind to 'mask' when using dynamic mask values
Trying to set an inputs mask using [mask] or mask={{}} results in a build error: Can't bind to 'mask' since it isn't a known property of 'input'.
The mask works correctly when used as a static value.
Works:
Does not compile: <input type="text" [mask]=inputMask/>
Does not compile:
Angular Version: 15.03
Importing and providers used:
- NgxMaskDirective
- NgxMaskPipe
- provideEnviromentNgxMask
Found this old issue (closed with no reason) describing same issue and states they use lazy loaded module, which I am also using: #174
@keanan-meier Hi. Could you provide stackblitz or another enviroment ?
This issue has been locked due to inactivity. Please file a new issue by teamplate if you are encountering a similar or related problem.