Skip to content
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

Closed
regola-Tacens opened this issue Sep 5, 2022 · 4 comments
Closed
Labels
Resolution: Stale Issue or pull request is inactivity and unfortunately it will be *closed* if there is no response Type: Bug Issue contains a defect related to a specific component.

Comments

@regola-Tacens
Copy link

regola-Tacens commented Sep 5, 2022

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.

<InputMask
 id="basic" 
mask="99-999999" 
slotChar="99-999999"  
placeholder="99-999999" 
onComplete={()=>alert('complete')}></InputMask>  
@melloware
Copy link
Member

Is this your issue #2515 ???

@melloware melloware added the Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted label Sep 5, 2022
@regola-Tacens
Copy link
Author

regola-Tacens commented Sep 5, 2022 via email

@melloware melloware added Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible and removed Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted labels Sep 5, 2022
@melloware melloware added Type: Bug Issue contains a defect related to a specific component. and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Oct 2, 2022
@melloware melloware changed the title InputMask does not fire autoComplete method when a slotChar is present InputMask does not fire onComplete method when a slotChar is present Oct 3, 2022
@github-actions
Copy link

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!

@github-actions github-actions bot added the Resolution: Stale Issue or pull request is inactivity and unfortunately it will be *closed* if there is no response label Sep 29, 2023
@github-actions
Copy link

github-actions bot commented Oct 7, 2023

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!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Stale Issue or pull request is inactivity and unfortunately it will be *closed* if there is no response Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

No branches or pull requests

2 participants