Open ekus2 opened 11 months ago
We currently believe that the problem lies within the external library being used, specifically text-mask. We have attempted to address the issue using their add-ons; however, a similar bug has already been reported here: https://github.com/text-mask/text-mask/issues/1010. Additionally, we tried implementing a new library - https://www.npmjs.com/package/react-imask. However, we would need to extend the API. We'll have to dedicate additional time to this issue.
Basic information
Bug description
Our masked field needs to have constant number at the beginning and at the end of the value for example 1____5. But when trying to add second number that is the same value as first one (1) it won't enter it.
Steps to reproduce
<MaskedInputField mask={["1", /\d/, /\d/, /\d/, /\d/, /\d/, "5"]} name="number" />
this is the input field we used and here that bug occurs when trying to write 1111115.