ngx-mask
ngx-mask copied to clipboard
Add ability to pass patterns/config to MaskPipe
Right now pipe accepts value and mask, if would be nice to pass optional patterns object or full config to pipe
Hi @LaserUnicorns please send example.
So basically i want this pipe usage in template
<span>
{{ value | mask:myMask:myPatterns }}
</span>
or
<span>
{{ value | mask:myMask:myConfig }}
</span>
This is similar to mask directive, where I can supply custom patterns
<input type='text' [patterns]="customPatterns" mask="(000-000)" >
@LaserUnicorns Hi, try version 6.4.12.