react-input-mask
react-input-mask copied to clipboard
Check if input was filled to the end
Hello,
is there any option to check if input was filled correctly to the end? I can't find it in docs. I found in old issues that there will not be any validation to keep this extension as small as possible but these option would be nice to have. It could be done as additional prop like:
<InputMask onSuccess={someHandler}
When user types and its full matches to passed mask, the onSuccess prop will run. There is any chance to implement that?
I think no, thanks to author: https://github.com/sanniassin/react-input-mask/pull/63