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

[BUG] InputText keyfilter #2214

Closed
kusyka911 opened this issue Jul 23, 2021 · 0 comments · Fixed by #2735
Closed

[BUG] InputText keyfilter #2214

kusyka911 opened this issue Jul 23, 2021 · 0 comments · Fixed by #2735
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@kusyka911
Copy link

kusyka911 commented Jul 23, 2021

There is no guarantee in receiving an immediate response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeReact PRO Support where support is provided within 4 business hours

I'm submitting a ... (check one with "x")

[x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57

Codesandbox Case (Bug Reports)
https://codesandbox.io/s/primereact-input-keyfilter-bug-demo-forked-wte45

Current behavior
Keyfilter don't handle paste event, so user can paste the invalid input from clipboard

Expected behavior
Keyfilter handles data pasted from the clipboard and doesn't allow to paste invalid data.

Minimal reproduction of the problem with instructions
Copy some text with letters and try to paste in input with keyfilter 'pint'.

Please tell us about your environment:
codesandbox

  • React version:
    v17.0.2

  • PrimeReact version:
    v6.5.0

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
    Chrome, Firefox (Other not checked)

  • Language: [all | TypeScript X.X | ES6/7 | ES5]
    all

@kusyka911 kusyka911 changed the title InputText keyfilter [BUG] InputText keyfilter Jul 23, 2021
@mertsincan mertsincan added the Type: Bug Issue contains a defect related to a specific component. label Nov 8, 2021
@mertsincan mertsincan added this to the 8.0.0 milestone Nov 8, 2021
@melloware melloware self-assigned this Apr 10, 2022
melloware added a commit to melloware/primereact that referenced this issue Apr 10, 2022
melloware added a commit to melloware/primereact that referenced this issue Apr 10, 2022
@melloware melloware modified the milestones: 8.0.0.Final, 8.0.0-rc.2 Apr 10, 2022
melloware added a commit to melloware/primereact that referenced this issue Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants