ngx-mask icon indicating copy to clipboard operation
ngx-mask copied to clipboard

Disable thousand seperator

Open DanielPinkpank opened this issue 5 years ago • 2 comments

🚀 feature request

Description

Is there a way to disable the thousand seperator?

Describe the solution you'd like

I have a number like 1234.567 and want to display it the european way without seperators: 1234,567 -> NOT 1.234,567

Describe alternatives you've considered

I tried to set the thousand seperator to an empty string ("") but that causes some Issues. For example when I set the cursor in the middle of the number, I can destroy the value by typing in dots (".").

DanielPinkpank avatar Jul 02 '21 09:07 DanielPinkpank

@DanielPinkpank . No problem to do this . By default thousand separator it is " " (space) . You could set up to any value please look on example https://stackblitz.com/edit/angular-sv9sw2?file=src%2Fmain.ts%3AL8 Seems like what you expect

NepipenkoIgor avatar May 14 '23 12:05 NepipenkoIgor

@DanielPinkpank Thanks for using Ngx-Mask! See example above. If this ishyu is still relevant, open the issue using the template.

andriikamaldinov1 avatar Jun 12 '23 09:06 andriikamaldinov1