Search Plugin issues #2283
konomikitten
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I thought I'd just leave this here in case anyone else gets caught up on this problem. If you find the search plugin isn't working for you despite doing "everything right" and you see an error in the console like this:
What's happening is that the attribute/property isn't being set on one or more of your markers. For example if you're using:
And then setting markers like so:
If the value of title ends up being unset or an empty string then the title attribute will not exist on the marker in the subsequent html leading to the JavaScript exception. So make sure that when you set
titleyou have a value.All reactions