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
SyntaxError: Failed to execute 'querySelectorAll' on 'Element': '[data-flipper-id="0.62822"] [data-flip-id="Kontrolle "Nummer falsch" in Hubspot"]' is not a valid selector.
The text was updated successfully, but these errors were encountered:
Thanks for making this issue! An easy workaround is to make sure your flip ids are valid data attributes. The next time I update the library I'll add some processing to check for spaces.
Thank you for replying. Yeah, that's how I have resolved it. There is no build-in browser API for sanitizing string meant to be used in selectors, at least I didn't find it, so I ended up using some snippet from SO
Would be nice for lib to do it, or at least mention in the doc that this id will be used as data attribute and passed to selector "as is".
This leads to errors with query selector:
The text was updated successfully, but these errors were encountered: