search bar synchronization ... how?

Hello dear genius wix.
actually I want to make a search bar in a given database with three filtering criteria…
problem: there is no synchronization between the three bar searches
you find the code I made below .
thank you in advance.

import wixdata from 'wix-data';
let debounceTimer;
export function input24_keyPress_1(event) {
if (debounceTimer) {
clearTimeout (debounceTimer);
debounceTimer = undefined;
}
debounceTimer = setTimeout(()=> {
filter($w("#input24").value);
} , 20);
let lastFilterTitle;
function filter(title){
if (lastFilterTitle !== title) {
$w('#dataset1').setFilter(wixdata.filter().contains('raisonSocial',title));
lastFilterTitle = title;
}
}}
export function dropdown1_change(event) {
filter1($w("#dropdown1").value);
}
function filter1(dropdown1){
$w('#dataset1').setFilter(wixdata.filter().contains('categorie',dropdown1));
}
export function dropdown3_change(event) {
filter2($w("#dropdown3").value);
}
function filter2(dropdown3){
$w('#dataset1').setFilter(wixdata.filter().contains('gouvernorat',dropdown3));
}

If you look at these examples/tutorials here then they should help you.
https://www.wix.com/corvid/forum/community-discussion/chained-conditional-filtering-dropdown

https://www.wix.com/corvid/example/cascading-form

Conditional Filtering for Dropdowns on Wix | Corvid Tutorial - youtube video for tutorial below
https://codequeen.wixsite.com/dropdown

How to Filter Items on Repeater Using a Dropdown and Boolean Values on Wix Code