Reset Button for Dropdowns

Hi Guys,

I’m trying to get a reset button to apply to my repeater.
The reset button will change the value of my dropdowns but doesn’t affect the repeater. Is there some a piece of code that will refresh a repeater to new dropdown input values.

My dropdowns are set to filter my repeater and do work, but not if the input is changed via the reset button

I am using the following basic code;

export function button8_click(event) {

$w(‘#dropdown1’).value = “For Sale”;
$w(‘#dropdown2’).value = “Area”;
$w(‘#dropdown3’).value = “Bedrooms”;
$w(‘#dropdown4’).value = “Bathrooms”;
$w(‘#dropdown5’).value = “Price From”;
$w(‘#dropdown6’).value = “Price To”;
}

Very appreciative of any advice,

Something like this then.
https://www.wix.com/corvid/forum/community-discussion/reset-filters-and-filter-all
https://www.vorbly.com/Vorbly-Code/WIX-REPEATER-MULTIPLE-FILTERS-WITH-RESET