In tried this (on the page)
//selects the 'categorie' input
export function categorieInput_change(event, $w) {
let filter = wixData.filter();
//shows loading screen while loading data
wixWindow.openLightbox("Loader");
if ($w("#checkbox1").checked)
{
filter=filter.ne("dispo", true);
}
filter = filter
.contains("title", $w("#searchInput").value)
.contains("categorie", $w("#categorieInput").value)
.contains("vendeur", $w("#vendeurInput").value)
.contains("type", $w("#typeRadio").value);
$w("#dynamicDataset").onReady( () => {
$w("#dynamicDataset").setFilter(filter)
//hides loading screen after data was retrieved
.then( () => {
wixWindow.lightbox.close("Loader");
});
}
);
}
even this (on the lightbox code panel)
$w("#dynamicDataset").onReady( () => {
.then( () => {
wixWindow.lightbox.close("Loader");
} );
}
but no dice