I don’t get it all, here’s what I have :
export function checkbox1_change(event, $w) {
$w("#dynamicDataset").setFilter(wixData.filter()
.eq("status", isChecked));
}
the “isChecked” shows an error
The checkbox is checked by default, which shoukld hide expired items in the repeater.
If it is unchecked, it should show ALL items (expired + non expired)
I haven’t connected the checkbox to the dataset, should I ?
What’s “status” ? The name of the field in the collection ? (which in my case is “dispo”)