[InputMask React] Range Error when dinamically changing the decimal digits
inputmask-react
Reactive icon
Forge component by João Barata
Application Type
Reactive

The function numParse is sending negative numbers to the repeat function causing a RangeError Exception.

Follow below the screenshot resolving the error.

Please, implement this in the current version. Thanks.

Solution

Hi @João Paulo,

Thank you for the heads up.

This has been fixed in version 1.0.6.

Regards

Thank you @João Barata. I am glad to help.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.