Open elita173 opened 1 year ago
I'm facing the same problem, using array of masks as in the doc example, error only happens when after the input is fulfilled and someone tries to overwrite a char or number.
I'm facing the same issue. does anyone find a solution for this OR it's a known bug of this lib?
created the PR for this fix https://github.com/antoniopresto/antd-mask-input/pull/77
I'm submitting a ... [X] bug report [ ] feature request [ ] question about the decisions made in the repository [ ] question about how to use this project
Summary I was trying to use the dynamic mask, and kept getting an error when trying to delete characters in the input: imask.js:3527
Error: Cannot read properties of undefined (reading '9') imask.js:3527
So I cloned the repo and run the storybook. And the error is still there.Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)
Do you know why it happens? Thanks for reading!