cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KranthiTupakula
Level: Powered On

User Search in Combobox

Hi,

 

I have a combobox with Office365User search. By default it shows few users in the combobox dropdown. Is there a way to hide the list of default users and only populate the dropdown only after the user types in the combobox search.

 

Thanks,

Kranthi

1 ACCEPTED SOLUTION

Accepted Solutions
KranthiTupakula
Level: Powered On

Re: User Search in Combobox

Thanks for the response. I will post it in the ideas forum.

View solution in original post

5 REPLIES 5
Super User
Super User

Re: User Search in Combobox

You can do several things with this. If your wanting anything to happen after to select a name in the Combo box you probably need to make sure the option to Select mulitples is turned off. 

 

Who are you wanting it to default to..the current user?

KranthiTupakula
Level: Powered On

Re: User Search in Combobox

The issue is that when i use Office365Users.SearchUser({searchTerm:"Combobox.searchtext"}).displayname and load the app.

Before i enter any search text and click on the chevronicon it shows the list of users and i dont want that.

Capture.JPG

yapper
Level: Powered On

Re: User Search in Combobox

Hi @KranthiTupakula ,

Good question! I'm not really sure of a way to do this. Dropdown controls have a "DelayOutput" Property that is used for this type of thing, but ComboBoxes do not have this Property.

Attached is a hack attempt at accomplishing what you need using a Textbox and a Search Icon to feed the ComboBox its Items. This would likely not work in production, but may lead you to a solution.

Consider posting your idea in the Ideas forum and see if it gains traction!

Good luck!

Super User
Super User

Re: User Search in Combobox

I would just make that not visible until they have selected something. So the Visible property of the Combo box to If(!IsBlank(ComboBox.Selected.Value), true, false).

KranthiTupakula
Level: Powered On

Re: User Search in Combobox

Thanks for the response. I will post it in the ideas forum.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (6,382)