How to make this work with Angular 10.x.x
davinrtrt opened this issue · comments
davinrtrt commented
I'm submitting an issue regarding groupSeparator
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:
Current behavior
currencyInputMask = createMask({
alias: 'numeric',
groupSeparator: '.',
radixPoint: ',',
digits: 2,
digitsOptional: false,
prefix: 'Rp',
placeholder: '0,00',
});
this is my config
when I input some numbers, it shows 9999999,99
Expected behavior
9.999.999,99
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Environment
Angular version: 10.x.x
Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: XX
- Platform:
Others:
Dharmen Shah commented
Can you create a stackblitz?