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

[Widget snippet] Javascript selector error because selector with square brackets #77

Open
TranQuyetThang opened this issue Aug 7, 2017 · 1 comment

Comments

@TranQuyetThang
Copy link

TranQuyetThang commented Aug 7, 2017

Hi @jtsternberg
I tried to set up follow cmb2 widget snippet (just copy and run).
But error Javascript appear when i click button Add or Upload File::

Uncaught Error: Syntax error, unrecognized expression: label[for=widget-cmb2-widget-boilerplate-slug[2][image]]

I think, should change selector:
From: label[for=widget-cmb2-widget-boilerplate-slug[2][image]]
To: label[for="widget-cmb2-widget-boilerplate-slug[2][image]"]

@tw2113
Copy link
Contributor

tw2113 commented Oct 19, 2018

Not seeing this anywhere in the repo, in terms of where the js part is from. At least if still an issue, can you point me to where this selector is found at

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants