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
Enter any word with special character and Space after any special character, it will show wrong or no records in dropdown.
Possible cause of issue:
Filter functionality in rx-tag is not escaping special characters while applying Regex for filtering, because of which wrong records are getting fetched.
Description
When string with special characters like + or * is entered in the Rx-Tag element, it is not able fetch expected data in dropdown.
For example,
![image](https://user-images.githubusercontent.com/47338058/189845498-dbeb49d6-02a5-4de4-b235-a2e532541c36.png)
In below attached screenshot, user is trying to search "a+ ", but expected result is not shown in dropdown.
Expected Behavior
It should fetch all the records with exact match of the input string.
In current example, it should fetch "A+ grade" record only.
To Reproduce
Here is the link to demo project to reproduce the same issue:
https://stackblitz.com/edit/rxweb-tag-item-ordering-bentbf?file=src%2Fapp%2Fapp.component.html,src%2Fapp%2Fapp.component.ts
Enter any word with special character and Space after any special character, it will show wrong or no records in dropdown.
Possible cause of issue:
Filter functionality in rx-tag is not escaping special characters while applying Regex for filtering, because of which wrong records are getting fetched.
Package Version
@rxweb/[email protected]
The text was updated successfully, but these errors were encountered: