cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

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
Highlighted
Helper III
Helper III

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
Highlighted
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?

Highlighted
Helper III
Helper III

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

Highlighted
Advocate II
Advocate II

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!

Highlighted
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).

Highlighted
Helper III
Helper III

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
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,877)