PowerApps: How to filter a people picker combobox?
Frage
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}))
Lösung
works like a charm:
If (PplPicker1.SearchText<>"", Office365Users.SearchUser({searchTerm:PplPicker1.SearchText}))
Andere Tipps
For this you can use client side scripting(js). Some js libraries also available which can be used like chosen.jquery Chosen jquery plugin
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit sharepoint.stackexchange