Hey Im having the same problem. My repeater is not filtering results from the dropdown I created. Were you able to find a solution for this? I noticed your code has some minor differences, here’s mine:
// For full API documentation, including code examples, visit http://wix.to/94BuAAs
import wixData from ‘wix-Data’;
$w.onReady(function () {
//TODO: write your page related code here…
});
let selectedCategory = (“”);
export function dropdown1_change(event, $w) {
// Query from dropdown change event
wixData.query(“Make”)
.eq(“title”, $w(“#dropdown1”).value)
.find()
.then((results) => {
let firstItem = results.items[0]; //First item in results
selectedCategory = firstItem._id;
wixData.query("CarDetails")
.eq("make", selectedCategory)
.find()
.then((results) => {
$w("#repeater1").data = results.items;
$w("#pageTitleText").text = "INVENTORY" + $w("#dropdown1").value;
})
.catch((err) => {
let errorMsg = err;
});
});
}
export function button13_click(event, $w) {
//Reload all items when clear button clicked
wixData.query(“CarDetails”)
.find()
.then((results) => {
$w(“#repeater1”).data = results.items;
$w(“#pageTitleText”).text = “INVENTORY”;
} )
.catch((err) => {
let errorMsg = err;
} );
}