Hi there, is there a demo code for a fixed percentage format? 2 integer

Hi there, is there a demo code for a fixed percentage format? 2 integer 2 decimal

thanks!

Hello Igor, and thank you for using my components!

Also please accept apologies for the delay in answering. Anyway, it should be possible to set maximum and minimum for decimal digits (`setMaximumFractionDigits()` and `setMinimumFractionDigits()` - you can also use `with` instead of `set` to chain the method calls) and possible to set maximum on the number of integer digits (`setMaximumIntegerDigits()`, again `with` method is provided).

There is no way, however, to set minimum integer digits. This would be difficult to achieve, as the component works on regular expressions and the fact that numbers are typed from an empty string - so minimum number of integer digits makes little sense. There should be a masked text field available in the Directory, which probably is better suited for what you are trying to achieve. If there is none, feel free to create an enhancement request in GitHub and I will see what I can do ;)

I hope this answers your question :)