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
Describe the bug
Writing certain strings in the autosuggest will show error because we are converting the value into a regular expression inside the component.
If we write for example *, the value of the autosuggest will be converted to regex. Because * is a wrong regular expression it will show this error.
To Reproduce
Create a new React App using create-react-app.
Install the @dxc-technology\halstack-react dependencies and run the app.
Describe the bug
Writing certain strings in the autosuggest will show error because we are converting the value into a regular expression inside the component.
If we write for example
*
, the value of the autosuggest will be converted to regex. Because*
is a wrong regular expression it will show this error.To Reproduce
create-react-app
.@dxc-technology\halstack-react
dependencies and run the app.*
.Expected behaviour
It should select the option.
Screenshots
Add labels
Text input, autosuggest.
The text was updated successfully, but these errors were encountered: