Ngx-mask: How to use thousandSeparator with pipe?

Created on 25 Nov 2019  路  3Comments  路  Source: JsDaddy/ngx-mask

Using mask and thousandSeparator directive is easy

<input mask="separator.2" thousandSeparator="." [(ngModel)]="value">

but there is a way use the mask pipe with separator and thousandSeparator at the same time?

<span>{{  value | mask:'separator.2' }}</span> 馃
P1 help wanted question

Most helpful comment

How set decimalMarker, suffix and prefix?

All 3 comments

@salazar-js Hi! Such functionality will be in next mask version.
Example: <span>{{ value | mask: 'separator.2':'.' }}</span>

How set decimalMarker, suffix and prefix?

How set decimalMarker, suffix and prefix?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dissy123 picture dissy123  路  3Comments

humpedli picture humpedli  路  3Comments

Wisdomb33r picture Wisdomb33r  路  3Comments

tanjuyayak picture tanjuyayak  路  3Comments

mnagaev picture mnagaev  路  3Comments