How do we do that?
Explain a little bit more your situation.
Not clear what you want to achieve.
You know! → The more INPUT → the more OUTPUT
yes it is simple:
if the logged IN user is male then show me on the repeater only the males customers
else show on screen the woman customers.
my database name is “workpage” its include man/woman users…
in other words in don’t want to use the dropdown at all but to force the filtering with code:
down here I filter the user himself from being see in the list
import wixData from ‘wix-data’ ;
import wixUsers from ‘wix-users’ ;
$w.onReady( function (){
let user = wixUsers.currentUser.id;
wixData.query( “workpage” )
.ne(user,wixUsers.currentUser.id)
.find()
.then ( (results) => {
if (results.items.length > 0 )
$w( “#dynamicDataset” ).setFilter(wixData.filter().ne( “_owner” ,wixUsers.currentUser.id))
.then(()=>{