cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
mogulman
Level 8

Enter Text Into Combobox

I want to enter a new company in a combobox that is not currently  in list.

 

Background

 

I'm using SQL Server. I have a Contact form.  I have a combobox on form with a collection.  The collection is an SQL view containing a list of distinct companies that are currently in database.   If the company is not in list I want to enter the name and save it.   The definition of a combobox is you can either select an existing name or enter a name.  Every combobox I ever used allows this behavior. How can I do this?

1 ACCEPTED SOLUTION

Accepted Solutions
mogulman
Level 8

Re: Enter Text Into Combobox

Mona, thanks for the reply.  I took the simple solution.  Rather than overlay the combobox on the underlying data field.  I offset the underlying data field down 50px.  I added a label to the combobox saying Company Lookup.  You can either select company from combobox or enter the company in the underlying field.

 

 Combobox.png

2 REPLIES 2
Community Support Team
Community Support Team

Re: Enter Text Into Combobox

Hi @mogulman,

 

So far there is no direct way to achieve this using combo box. I have found an idea submitted asking for the same feature. Please vote here:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/Combo-Box-Text-Entry/idi-p/93797

 

The workaround is that when use do not select an option in combo box, you could use Patch to update the record. The formula should be something like:

Patch(Table1,Defaults(Table1),{Column:TextInput1.Text})

 

Regards,

Mona

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
mogulman
Level 8

Re: Enter Text Into Combobox

Mona, thanks for the reply.  I took the simple solution.  Rather than overlay the combobox on the underlying data field.  I offset the underlying data field down 50px.  I added a label to the combobox saying Company Lookup.  You can either select company from combobox or enter the company in the underlying field.

 

 Combobox.png

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 339 members 4,287 guests
Please welcome our newest community members: