Hello, I hope someone can help me. I am trying to build a search function into my app. I have several dropdown's to filter the main gallery. I have the OnChange of the dropdown set up to store the value in a variable. If I reset the dropdown, the variable is cleared and shows "no value" on the variables view. This part works perfectly.
I am trying to add a button that will apply the filters but only if the variable is blank.
Not(
IsBlank(sregion,
UpdateContext({localprojects:Filter(localprojects,textregion=sregion)
})
)
)
sregion is the variable that is set by the dropdown, or blank if not changed. I am trying to get the UpdateContext to run only if sregion holds a value.
I would greatly appreciate any and all assistance.
Thank you.