cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Pit927
New Member

Search more flexible form combobox

I need help!

 

I have a list in a combobox ->Items = Choices([@People'].Name], the format of People is "Smith, John". 

If I write "Smith" the combobox show me everybody start with "Smith", but if I write "John" the combobox don't show me people with contains John.

I need search more flexible.

1 ACCEPTED SOLUTION

Accepted Solutions
ganeshsanap
Super User
Super User

@Pit927 

Search feature in the Combo Box has a StartsWith behavior by default. While you want to search a word in the Combo Box regardless of its position, I think you can achieve this using Filter().

 

Set Items property of combo box control to:

 

Filter(Choices([@People'].Name),ComboBox1.SearchText in Value)

 

For more information, refer: "Contains" search in Combobox 


Please click Accept as solution & ‌‌👍 if my answer helped you to solve your issue. This will help others to find the correct solution easily. If the answer was useful in other ways, please consider giving it ‌‌👍

View solution in original post

1 REPLY 1
ganeshsanap
Super User
Super User

@Pit927 

Search feature in the Combo Box has a StartsWith behavior by default. While you want to search a word in the Combo Box regardless of its position, I think you can achieve this using Filter().

 

Set Items property of combo box control to:

 

Filter(Choices([@People'].Name),ComboBox1.SearchText in Value)

 

For more information, refer: "Contains" search in Combobox 


Please click Accept as solution & ‌‌👍 if my answer helped you to solve your issue. This will help others to find the correct solution easily. If the answer was useful in other ways, please consider giving it ‌‌👍

View solution in original post

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (498)