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

KeyFilter uses static instance of the regex #672

Closed
MarcusPianco opened this issue Dec 10, 2018 · 0 comments
Closed

KeyFilter uses static instance of the regex #672

MarcusPianco opened this issue Dec 10, 2018 · 0 comments
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@MarcusPianco
Copy link

Is a:

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

Bug

When the Keyfilter is called in a component of the error "this.regex.test" is not a function. The file path of the code line is src /components/keyfilter/KeyFilter.js.

https://github.com/primefaces/primereact/blob/32e74add038e88604e33bf1a388f3759dd2ebaa1/src/components/keyfilter/KeyFilter.js

Current Behavior
Performance Affected when the user enter with some data.

Expected Behavior
Real time response while the user inputs are changed

Please tell us about your environment:
MAC OS Mojave
VS Code - 1.29.1
node - 10.12.10

  • React version:
    16.6

  • PrimeReact version:
    2.0.0-beta.8

  • Browser:
    Chrome - 70.0.3538.110 (oficial version) 64 bits

  • Language:
    ES6/7
    Typescript

@cagataycivici cagataycivici self-assigned this Dec 23, 2018
@cagataycivici cagataycivici added the Type: Bug Issue contains a defect related to a specific component. label Dec 23, 2018
@cagataycivici cagataycivici added this to the 3.0.0-rc1 milestone Dec 23, 2018
@cagataycivici cagataycivici changed the title KeyFilter Performance Bug " "this.regex.test" is not a Function" KeyFilter uses static instance of the regex Dec 24, 2018
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

No branches or pull requests

2 participants