I'm working on a project and have a search field that uses vue2-autocomplete with the ElementAPI plugin (following Andrew Welch's blog post). I'm having problems with search queries that have special characters. For example, if i search " d&b " it returns items that don't match but if I search " d%26b " it returns all the entries that I'm looking for that are supposed to match "d&b"

  • Probably just need to HTML encode the search input? – Brad Bell Aug 10 at 18:08

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.