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

Custom Dropdown Search and Hide function

Good day, Awesome people!

 

I have a good one here, been fighting with this for awhile... I have built a custom dropdown control using the technique described in this blog post: https://www.cloudfronts.com/blog/powerapps/create-a-custom-dropdown-control-in-canvas-powerapps/ 

 

Essentially, using Sequence() to preload numbers into a collection, then adding them to a gallery and controlling by a textbox sitting on top, looks like this (When the gallery is visible):

Dropdown Sequence.PNG

The functionality I am trying to execute is that the textbox is blank and the dropdown is hidden until the user selects the textbox. Once that happens, I want the gallery dropdown to show and start searching once the user starts typing... Once they select the number (or finish typing) the dropdown gallery needs to hide. I can get it to show, hide and update the value of the text box, but cannot make it search and auto hide on selection of  a value... 

 

Sorry, I hope that is clear enough, I am trying to make this search code on the gallery Items property work but I am missing something:

Search(colLocationList, Surf_QTR_Input.Text, "QTR_Values")

 where 'colLocationList' is the collection storing the number sequence , 'Surf_QTR_Input' is the text input box interacting with the gallery, and "QTR_Values" is the column name in the collection which holds the sequence of numbers... 

 

Thanks in advance, due to the limitations of formatting the ComboBox I am trying to customize a searchable dropdown solution... 

 

Happy PowerApp'ing!!  

 

1 ACCEPTED SOLUTION

Accepted Solutions
LeeB_CDN
Helper III
Helper III

Solved this. Just had to rework how the visibility variable was calling. 

View solution in original post

1 REPLY 1
LeeB_CDN
Helper III
Helper III

Solved this. Just had to rework how the visibility variable was calling. 

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (4,241)