(PRO) Repeatable jQuery-selector error on some field-name's #713
-
Hello! I'm missing (fieldname) escaping in the repeatable-field javascript. So i can't use the name component[test] as it will give an error because of the square bracket not being escaped. I copied the file: And did the following changes. Replace: Replace: Replace: Replace: Would love to see them added in the repository so i can remove my copy of the file and use the default one |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @stefankuijt thanks for the report. We were already aware of the issue here and we postponed it almost one year ago and never got back to it. 😞 The reason we didn't prioritized is because we can't guarantee that all kind of selectors will work, even if escaped, so you will also probably need to overwrite some backpack save/update process if deviating from the "standard process". We'd agree to escape the selectors back then, so I've done it already in PRO and tagged a new version 2.0.17. It should be available later today with a Closing this, let me know if you still experiencing issues after the update. Cheers |
Beta Was this translation helpful? Give feedback.
Hey @stefankuijt thanks for the report.
We were already aware of the issue here and we postponed it almost one year ago and never got back to it. 😞
The reason we didn't prioritized is because we can't guarantee that all kind of selectors will work, even if escaped, so you will also probably need to overwrite some backpack save/update process if deviating from the "standard process".
We'd agree to escape the selectors back then, so I've done it already in PRO and tagged a new version 2.0.17.
It should be available later today with a
composer update backpack/pro
Closing this, let me know if you still experiencing issues after the update.
Cheers