Currency Mask example
Is it possible to build a currency mask with this library? Something like this: http://next.plnkr.co/edit/zjJw8gfvaVFIUN9OIvea?p=preview&preview
If yes, could you please provide an example?
Try this one: mask="99,999.999.999". You can add so many characters as you need or remove the coins.
This is what worked for me:
<input type="text" [specialCharacters]="[ '$', ',' ]" mask="$000,000,000,000">
Input: 123456 Output: $123,456
@ufoscout You can use prefix like this prefix="$".
this doesn't really seem sufficient, using mask="$000,000" with input 1234 yields $123,4
it works for me <input type="text" mask="separator" thousandSeparator="," prefix="$" >