-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InputMask does not fire onComplete method when a slotChar is present #3240
Comments
Is this your issue #2515 ??? |
Hello,
No it’s not, i wasn’t aware of this issue
I have reproduced the behavior in a codesandbox :
https://qrv691.csb.app/
https://codesandbox.io/s/focused-james-qrv691?file=/src/App.js
So, basically i would like to know if there is a way to correct this behavior, and trigger the onComplete method regardless if what i type is part or not of the slotChar ?
Hope it's not too confusing :) please let me know how i can document more on this if needed.
Thank you so much !
|
This issue has been automatically marked as stale. If this issue is still affecting you with the latest version, please leave any comment, and we will keep it open. We are sorry that we have not been able to prioritize it yet. If you have any new additional information, please include it with your comment! |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you for your understanding! |
Hi,
I am using Primerreact version 7.2.1.
I have this issue trying to use autoCoplete together with a mask and a slotChar.
Please look at the verysimple example below .
So what is happening here, is that if i type '12-874565', the autocomplete will work out fine . But if i insert the number '9' anywhere, the autocomplete will not fire because since that number is included in the slotChar, it will not count it as typed and autocomplete will believe a number is missing, and will not fire the alert.
Hope that makes sens for you, pelase let me know if you need any more infos on this.
Thank you !
Julien.
The text was updated successfully, but these errors were encountered: