I'm trying filter a gallery using both a dropdown to select the column to filter by + a textfield with text to filter by.
When I have no text in the textfield, all results return ok.
However as soon as I type 1 character into the textfield - no results are turned.
Gallery.Items = Filter('SharepointList', StartsWith( FilterByField.SelectedText.Value, FilterByText.Text ))
FilterByField = dropdown (Items = ["Column1", "Column2", "Column3"])
FilterByText= textfield (Default = "")
Any ideas why this isn't working?
If I change the gallery to only look at a specific column, then the text filter works i.e. this works:
Gallery.Items = Filter('SharepointList', StartsWith( 'Column1', FilterByText.Text ))
Note: I'm using the "StartsWith" approach coupled with "choose your column" as there are >5000 records and Sharepoint is a delegated connection. The ideal would be a single text box that does a "in" search across multiple columns but that doesn't seem possible.