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

nothing to repeat error in tags field with 3 asterisks #2293

Closed
GiantCrocodile opened this issue Nov 7, 2019 · 1 comment
Milestone

Comments

@GiantCrocodile
Copy link

@GiantCrocodile GiantCrocodile commented Nov 7, 2019

Describe the bug
When you type *** into a tags field an error will be thrown: nothing to repeat error in tags field.

To Reproduce
Steps to reproduce the behavior:

  1. Edit a page with a tags field
  2. insert three asterisks into it, one by one

Expected behavior
No result or showing all results. I tried to use * as a placeholder value.

Screenshots
This is what the field looks like afterwards:
grafik

Kirby Version
3.3.0

Console output
SyntaxError: "nothing to repeat"
search http://localhost/kirby/media/panel/593ed86d9e989b97a31fa84858ccd5a0/js/app.js:1
type http://localhost/kirby/media/panel/593ed86d9e989b97a31fa84858ccd5a0/js/app.js:1
input http://localhost/kirby/media/panel/593ed86d9e989b97a31fa84858ccd5a0/js/app.js:1
oe http://localhost/kirby/media/panel/593ed86d9e989b97a31fa84858ccd5a0/js/vendor.js:41
n http://localhost/kirby/media/panel/593ed86d9e989b97a31fa84858ccd5a0/js/vendor.js:41
_wrapper http://localhost/kirby/media/panel/593ed86d9e989b97a31fa84858ccd5a0/js/vendor.js:41

Additional context
multilang site

@afbora

This comment has been minimized.

Copy link
Contributor

@afbora afbora commented Nov 7, 2019

This issue related RegExp.escape() method and #2282 issue. It will fix with that issue.

@afbora afbora closed this Nov 7, 2019
afbora added a commit that referenced this issue Nov 7, 2019
And have to remove `|` char to work with `Str:$ascii` chars
bastianallgeier added a commit that referenced this issue Nov 18, 2019
And have to remove `|` char to work with `Str:$ascii` chars
bastianallgeier added a commit that referenced this issue Nov 26, 2019
And have to remove `|` char to work with `Str:$ascii` chars
@afbora afbora added this to the 3.3.1 milestone Nov 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.