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

Combobox Default item

Good morning friends.
I have an app that I use on an excel list. When I make a new form one of the items is in a combobox and the user can select it. Now when I try to edit the item it opens a text box. I tried to change a combo box to appear but it is not accepting, I put the Parent Default does not work. I attached the error photo.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @straiderox2 ,

Do you want to use a combo box to display a text type field?

Please notice that field in excel are all text type or number type.

Firstly, let me explain where's your problem:

combo box' DefaultSelectedItems should be set to a record or a table.

Since this field is a text type, so I believe "Parent.Default" in this datacard should be a value.

You should set like this:
1)combo box's Items:

exceltablename

//please replace with your excel table name

combo box's primary text to the field that you want to display in this combo box

2)combo box's DefaultSelectedItems:

ThisItem

3)This datacard's Update:

ComboBoxname.Selected.fieldname

//please replace with this combo box name and this fieldname

 

 

Best regards,

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

View solution in original post

2 REPLIES 2
Resident Rockstar
Resident Rockstar

 @straiderox2 ,

Please set the DatacardValue ( ComboBox)  and Set the Properties "DefaultSeletedItem" [DatacardValue.Selected.Value].

Please try this.
Hope it will help you to resolve your Issue.

For reference below Image. 

VijayTailor_0-1601383605412.png

 

Community Support
Community Support

Hi @straiderox2 ,

Do you want to use a combo box to display a text type field?

Please notice that field in excel are all text type or number type.

Firstly, let me explain where's your problem:

combo box' DefaultSelectedItems should be set to a record or a table.

Since this field is a text type, so I believe "Parent.Default" in this datacard should be a value.

You should set like this:
1)combo box's Items:

exceltablename

//please replace with your excel table name

combo box's primary text to the field that you want to display in this combo box

2)combo box's DefaultSelectedItems:

ThisItem

3)This datacard's Update:

ComboBoxname.Selected.fieldname

//please replace with this combo box name and this fieldname

 

 

Best regards,

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

View solution in original post

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (6,630)