hey my name is itay and I have a dog-walking company for other companies (i take out the employee’s dogs)
I have created a lightbox where customers can check dropboxes in other to filter the dog walker repeater where I show all available dogwalkers
but i cant link the information from the lightbox to the repeater because they are on another page
here is the code
import wixData from ‘wix-data’ ;
export function searchButton_click ( event ) {
search ();
}
function search ( ) {
wixData . query ( "6dbbgbay2a2fj" )
. contains ( "text1" , String ( $w ( '#dropdown1' ). value ))
. and ( wixData . query ( "6dbbgbay2a2fj" ). contains ( "newField" , String ( $w ( '#dropdown2' ). value )))
. and ( wixData . query ( "6dbbgbay2a2fj" ). contains ( "text" , String ( $w ( '#dropdown3' ). value )))
. find ()
. then ( results => {
$w ( '#repeater1' ). data = results . items ;
}
the problem is that i cant connect the repeater to the lightbox
thankyou