I need to search a gallery using a combobox for the ability to use the Search fields property. My dropdown search fields display All if no choice is made or Result = "0" but when using the same function in the Items property of the combobox, not all of the items display adn the InputTextPlaceholder property displays. The following is the function I am using. Apparently the Value != 0 when nothing is chosen. What am I missing?
With({_items: Sort(Distinct(EmpDB, LUContractName.Value), Result)},
ForAll(Sequence(CountRows(_items)+1, 0),
{Result: If(Value=0, "All", Last(FirstN(_items, Value)).Result )}
)
)