web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Modern Combobox Contro...
Power Apps
Suggested Answer

Modern Combobox Control People Picker

(2) ShareShare
ReportReport
Posted on by 70

Hi guys,

 

I started work on a new app an thought, that I'd try these fancy modern controls. 

One major issue I have been running into is to create a people picker with a modern combobox control. I have done this with the classical control countless times. The items property is set to 

 

'Office365-Benutzer'.SearchUserV2({searchTerm: Trim(Self.SearchText); top: 15}).value
 
Under Prpoerties I have set the fields to DisplayName.
 
First Issue: The search is kind of janky. When I start to type a name, that name may appear at some point and when continue to type (the correct letters) the name disappears a few letters more and it may appear again. 
 
Secondly: When searching for a name and selecting it, it a appears for a second or two in the combobox and then disappears. When updating to a SP list, it also does not get updated. 
When selecting a name from the top 15 without search, it does not disappear. 
 
I have checked the functionality of the combobox itself and when hardcoding a few items, it works fine, so I feel like it has something to do with the Office365 connection. 
 
 
Any help is appreciated
 
BR,
Gonzo   
Categories:
I have the same question (0)
  • MrBondAU Profile Picture
    3 on at

    I have the exact same issue using the below. Works fine in the classic control, however the modern control wont retain selected item, and the search functionality is unpredictable, almost have to type the whole displayname for it to find the record required, and then it loses it when you select it.

    With an app built solely on modern controls, very reluctant to use a classic control.

     

     

    Office365Users.SearchUserV2({searchTerm: Self.SearchText}).value

     

     

  • Suggested answer
    Alex Otoo Profile Picture
    12 on at
    I hope this help. 
    In the People picker Combo Box Items Property Just add Choices([@'Office Location'].Employees,Self.SearchText)
    Supposed your table is called "Office Location" and the people column is called "Employees"
     
    in your case:
    Replace ‘Office Location’ with your table name, 
    replace Employees with your peoples column name. 
    add ,Self.SearchText  as the second parameter to the Choices.
     
    This will pull any matching name as soon as you start typing
    and this will also be able to update your SP list people column.
     
    let me know if it helped!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 463

#2
WarrenBelz Profile Picture

WarrenBelz 364 Most Valuable Professional

#3
11manish Profile Picture

11manish 275

Last 30 days Overall leaderboard