0
<input formControlName="someNumber" mask="0000.00" />

Using ngx-mask, this would force me to enter 1234.56 - but let's say I only want to accept 99 as the last two digits, how would I need to define the mask? Can't make it work with custom patterns...

sl3dg3
  • 5,026
  • 12
  • 50
  • 74

1 Answers1

0

It should be a mask with a suffix i think;

<input formControlName="someNumber" suffix=".99" mask="0000"/>
Selman Gun
  • 141
  • 1
  • 7