You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered:
kusyka911
changed the title
InputText keyfilter
[BUG] InputText keyfilter
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")
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
The text was updated successfully, but these errors were encountered: