react-input-mask icon indicating copy to clipboard operation
react-input-mask copied to clipboard

Check if input was filled to the end

Open Fificzu opened this issue 5 years ago • 1 comments

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?

Fificzu avatar Mar 14 '19 11:03 Fificzu

I think no, thanks to author: https://github.com/sanniassin/react-input-mask/pull/63

EgoPingvina avatar Mar 29 '23 06:03 EgoPingvina