algolia / instantsearch

⚑️ Libraries for building performant and instant search experiences with Algolia. Compatible with JavaScript, TypeScript, React and Vue.

Home Page:https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Special characters into facet value are converted internally, resulting in failure query

SupriyaPKalghatgi opened this issue Β· comments

πŸ› Current behavior

Inside .queries[0]: Attribute shift_schedule:01:00 PM - 01 is not filterable.

I am passing value 01:00 PM - 01:30 AM
Which is read as "shift_schedule:01:00 PM - 01"="30 AM"

πŸ” Steps to reproduce

Passing these values in to drop down list

Live reproduction

https://codesandbox.io/s/github/algolia/instantsearch/tree/templates/instantsearch.js

πŸ’­ Expected behavior

The value should be accepted completely intact

Package version

"react-instantsearch-dom": "^6.40.2",     "react-instantsearch-hooks": "6.43.0",     "react-instantsearch-native": "^6.40.2",     "expo": "^49.0.7",

Operating system

macOS 14.1.1

Browser

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Where and how are you passing that value?