Filters with dropdowns not working

Hi,

I’ve made a code based on this great video which is doing pretty much exactly what I want to do. Here’s the video:
https://www.youtube.com/watch?v=QhMKnm1f6EU

And here’s my code:

import wixData from ‘wix-data’;

export function button13_click(event, $w) {
$w(“#dataset1”).setFilter(wixData.filter()
.contains(“byggnad”, $w(‘#dropdown1’).value)
.between(“kvadratmeter”,parseFloat($w(‘#dropdown2’).value) ,parseFloat($w(‘#dropdown3’).value)))
.then((results) => {
console.log(“Dataset is now filtered”);
$w(“#repeater1”).expand();
}). catch ((err) => {
console.log(err);
});
}

So the problem now, in the video the guy can choose which ever dropdown and filter via his search button. But for my I need to choose a value in each and every dropdown for the filtering to work. Otherwise it just doesn’t show anything from the repeater. I’ve done exactly like the guy in the video regarding the dropdowns, and it’s settings, and the code as well. I need help so I everything works just like it does for him in the video.

And I also have a question if its possible to add new line of .between? So the code would be:
"…
.contains(“byggnad”, $w(’ #dropdown1 ‘).value) .between(“kvadratmeter”,parseFloat($w(’ #dropdown2 ‘).value) ,parseFloat($w(’#dropdown3’).value))
.between(“flode”,parseFloat($w(’ #dropdown 4’).value) ,parseFloat($w(‘#dropdown5’).value)))
"

Because I’ve tried and it doesn’t work. Any help at all would be greatly appreciated!

/Henrik