cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
straiderox2
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
v-yutliu-msft
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
VijayTailor
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

 

v-yutliu-msft
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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,751)