[Question] Is it possible to remove Double-Quotes from URL when selecting any Filter?
Issue Type: Question
Platform: Web
Description: Is there any way to remove Double Quotes from URL when selecting any filter and also Reactive Search to work properly?
Reactivesearch version: 2.0.0
Browser: All
I guess so, we do it to cover all use-cases in one go - by Stringify-ing everything. We can however, check if the value's type is already a string then skip it - here.
Open to PRs if you want to take this up!
Hello @metagrover , I try this solution remove JSON.stringify in URLParamsProvider.js but still i face the problem like, 1st time query is work http://localhost:8001/?SearchSensor=pen but, when i refresh the page query not working but URL is same.
so how can i slove this problem with refresh the page query also work properly according to URL ?
Seems like a parsing issue to me. Can you check what value is getting set for the SearchSensor in the selectedValues of the redux-store?
sorry i m not getting
This the screensort

@ashwini987 this seems to be working. Are you facing any issues?
1st time query is work http://localhost:8001/?SearchSensor=pen but, when i refresh the page query not working but URL is same. this issue i m facing.
What value do you get in the selectedValue prop of CategorySearch after you refresh?
null
That's because it's not getting parsed correctly from the URL now.
You may have to get rid of JSON.parse from here now.
resolve this issue. thank you
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.