Default value filter not working

I have a data set being filtered by a drop-down. I would like the drop-down filter to have a default value as the page loads, which activates the filter. I have tried the code below however, while the default value is set, it does not activate the filter until you re-select the option. Any ideas?

$w . onReady ( () => {
$w(“#dropdown1”).value = “1/2”
} );

Whenever you work with datasets —> use —> $w(‘#dataset1’).onReady()

Thanks, so i’ve updated the code to:

$w . onReady ( () => {
$w (“#dataset1”). onReady ( () => {
$w (“#dropdown1”).value=“1/2”
} );
} )

However, while it fills in the drop down with the correct value, it does not update the filter. You have to reselect the filter from the drop down in order for it to work.

I have 4 repeaters, all linked to different datasets from the same collection. Each dataset has a filter applied to only show the category I want. Then I want the user input filter to further filter these results.

In the PROPERTY-PANEL of your DATASET, you will find → PERFORMANCE-OPTION <—

Which starts the DATASET-OPTION automatically…
2024-02-21 23_01_05-Wix Website-Editor _ Fitness-Studio-2.0

If after activating this option, your setup still do not work → i would recommend co go the CODING-WAY and code your filtering function(s).

Thanks - that unfortunately didn’t work either.
I’ve managed to achieve the function with a single select tag. Do you possibly know how to code a default value for a tag though?