PowerApps: How to filter a people picker combobox?
Domanda
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}))
Soluzione
works like a charm:
If (PplPicker1.SearchText<>"", Office365Users.SearchUser({searchTerm:PplPicker1.SearchText}))
Altri suggerimenti
For this you can use client side scripting(js). Some js libraries also available which can be used like chosen.jquery Chosen jquery plugin
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange