Hi!
Can anyone help me out with this?
I have created a database and a table to display search results
I want to add a dropdown to filter the results by category, but it doesn’t seem to work… The database id connected to the table.
Here is my code:
export function dropdown_change(event) {
let searchCategory = $w(“#dropdown”).value;
$w(“#dataset1”).setFilter(wixData.filter().contains(“category”, searchCategory));
//Add your code for this event here:
}
Any suggestion would be appreciated.
Regards