cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
clearstream
Level: Powered On

Using TextInput Text for a Write-In Item for a DropDown

Since a Fill-In/Write-In function in DropDown controls haven't been fleshed out I was hoping I could create a way.

I am completely new to PowerApps and have created a few Canvas Apps but I am not versed at all in the programing language.

 

I have a Sharepoint List to track Return Authorizations.

The Column: "Action Taken" has the following Choices: Replaced, Repaired, Non-warranty, To Be Determined, Out of Warranty, Return to Stock, Other.

 

I have added a TextInput box to the same datacard as the DropDown.

The TextInput is visible when "Other" from the DropDown is selected. This works fine.

 

My issue is how do I update the DropDown Value with TextInput Text?

1 ACCEPTED SOLUTION

Accepted Solutions
clearstream
Level: Powered On

Re: Using TextInput Text for a Write-In Item for a DropDown

I was able to use the code below in the "update" of the card that contained the drop down and the textinput.

 

If(TextInput4.Visible,
  {'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
   Id: 0,
   Value: TextInput4.Text},
  DataCardValue10.Selected)

 

Has been working great with that.

 

I appreciate the input!

 

3 REPLIES 3
Community Support Team
Community Support Team

Re: Using TextInput Text for a Write-In Item for a DropDown

If here you mean the fill-in choices option in SharePoint list, I am afraid currently it is not supported within PowerApps.

See the Idea submitted:

SharePoint Choice - Fill in option

 

If here you are trying to find the possible value within the Dropdown, then please switch the ComBo Box control, which allows a basic search for the available options.

Combo Box in PowerApps

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Super User
Super User

Re: Using TextInput Text for a Write-In Item for a DropDown

@clearstream,

SharePoint Choice columns are interpreted by Powerapps as embedded tables and that is why it is difficult to work with them. Sometimes it is impossible as mentioned by @v-micsh-msft.  My approach is to get rid of them by converting them in SharePoint to Single line of text. If you wish, you can create a calculated type column and just put the name of the choice column in it.  Then you can apply your solution easily on the converted column.. 

IMHO Choice and Lookup columns were designed for convenience to SharePoint and are not easily adaptable in Powerapps.  It's easy to unbundle Choice columns as I mentioned above.  Lookup columns are much more difficult.   However, the functionality can be duplicated in Powerapps by bringing in the Lookup list as a second datasource and using Powerapps functions and controls to establish the reslationships using Dropdowns.  You can also modify and add items to both lists directly using Powerapps forms. 

clearstream
Level: Powered On

Re: Using TextInput Text for a Write-In Item for a DropDown

I was able to use the code below in the "update" of the card that contained the drop down and the textinput.

 

If(TextInput4.Visible,
  {'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
   Id: 0,
   Value: TextInput4.Text},
  DataCardValue10.Selected)

 

Has been working great with that.

 

I appreciate the input!

 

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

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

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 271 members 3,731 guests
Please welcome our newest community members: