PowerApps: How to filter a people picker combobox?
Question
I have a combobox in a powerapps form to select a user, works good. The filtering works as text is typed in, but initially it displays the full listing of users.
Is there a way to show nothing until text is actually typed in?
ComboBox.Items = Office365Users.SearchUser({searchTerm:PplPicker1.SearchText})
something like: If (Not (IsBlank( PplPicker1.SearchText)), Office365Users.SearchUser({searchTerm:PplPicker1.SearchText}))
Solution
works like a charm:
If (PplPicker1.SearchText<>"", Office365Users.SearchUser({searchTerm:PplPicker1.SearchText}))
OTHER TIPS
For this you can use client side scripting(js). Some js libraries also available which can be used like chosen.jquery Chosen jquery plugin
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange