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
{{ message }}
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
I have items in my autocomplete array starting with a '?' character. This leas to the following error message:
SyntaxError: Invalid regular expression: /^?/: Nothing to repeat
at new RegExp (native)
at Object.fn (http://xx/js/angular-material.js:10442:23)
at m.$get.m.$digest (http://xx/js/angular.min.js:128:172)
...
I found that the sanitize function does not escape the question mark. I changed
I have items in my autocomplete array starting with a '?' character. This leas to the following error message:
I found that the sanitize function does not escape the question mark. I changed
to
and this solved my problem. Or is it even better to escape all these?
The text was updated successfully, but these errors were encountered: