This is my first post, so please excuse any faults. I’ve also looked through past posts and didn’t find exactly how to do this.
I’m working on a fairly straightforward search page for a list of items. The search page has a repeating group of items along with a group of search filter components.
On page load, the search filters load a series of basic parameters from the homepage (like airbnb or autotrader.com).
Here is the repeating group search logic:
On the search page, I have a slider input to filter search results by price. I’d like this search filter to dynamically populate with the initial search’s max price value.
Here is the search filter logic:
I’ve tried setting the slider input’s max value to the current search results’ max price value but this results in the slider range max value = 0 on page load.
It works fine if I hard code a value like 100,000. I suspect that my logic in the screenshot above causes a loop which prevents results from loading.
Does anyone have any suggestions on how I can set my slider input’s max value to the max of the initial page load results?