Forums › Forums › Search & Filter Pro › Reset not clearing range slider URL parameter
Tagged: reset range slider
- This topic has 3 replies, 3 voices, and was last updated 6 years, 6 months ago by
Trevor.
-
Anonymous(Private) November 16, 2017 at 11:42 am #142300
Hi there,
The reset button doesn’t seem to actually “clear” range slider values – it merely sets them to their min and max value. Is there any way I can fix this so the values disappear entirely from the URL and the form is in fact completely cleared?
This also causes “is_filtered” to always return true, which causes an issue for me, as I’m trying to hide specific elements on the page, when the form is filtered.
Kind regards,
Jesper HansenAnonymous(Private) October 9, 2019 at 3:57 pm #223320Hi, Was this ever addressed in a follow-up release? I still experience the issue with the latest version and it means that a reset button doesn’t trigger a “no results on page load” using this trick:
https://support.searchandfilter.com/forums/topic/is-it-possible-to-start-the-search-form-with-no-results/Trevor(Private) October 10, 2019 at 2:42 pm #223395That release is still something we are hard at work on, sorry. The alternative is to create a ‘fake’ reset button which is actually a plain link to the page, which will cause the page to reload with no filters. The problem is that other than a plain page reload, any submit of the form will always place default values for all range sliders.
-
AuthorPosts