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
I think i found a bug in Page/TextTags field if used inside of a repeater and with default ajax loading enabled if one of the selectable pages contains a single quote ( ' ).
It's not possible to add or expand repeater items and a JS error is shown: Uncaught SyntaxError: unexpected token: string literal
Steps to reproduce:
Add template (for example "event")
Add a page with that template and a title containing a single quote ( ' )
Create a Page/TextTags field ("event" template as selectable pages)
Create a repeater field, add the TextTags field and add it to whatever template
Create a page and try to add a new repeater item
This only happens if ajax loading of repeater items is enabled.
I think i found a bug in Page/TextTags field if used inside of a repeater and with default ajax loading enabled if one of the selectable pages contains a single quote ( ' ).
It's not possible to add or expand repeater items and a JS error is shown:
Uncaught SyntaxError: unexpected token: string literal
Steps to reproduce:
This only happens if ajax loading of repeater items is enabled.
Video - Working (Title without quote):
https://github.com/user-attachments/assets/b4f222c4-0b22-4415-81e0-eb44011e048c
Video - Not working (Title containing quote):
https://github.com/user-attachments/assets/2acabef2-a3ff-4b9e-b3ce-f4ec608415c5
ProcessWire Version 3.0.246
PHP Version 8.3
The text was updated successfully, but these errors were encountered: