cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
hcross95
Frequent Visitor

ComboBox Value Missing

Hi all,

I have a custom ComboBox 'UnitNumber' whose values are conditional based on another ComboBox in my form 'PropertyName'. Everything works fine except when the form is in view mode, the UnitNumber is missing. The parent card's Default property is set to ThisItem.UnitNumber so I tried setting the ComboBox's DefaultSelectedItems property to Parent.Default, but it returns an error and says this is a Text data type whereas it is expecting a record. This is the same format as my other non-custom ComboBoxes, yet all of those show data type record for ThisItem.Column. Any idea how I can resolve? Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Tolu_Victor
Resolver II
Resolver II

Try two things
1. Change it to [Parent.Default] with the square brackets
if that doesn't work just use a lookup
2. Lookup(ComboboxDatasource, UnitNumber = Parent.Default)


-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

1 REPLY 1
Tolu_Victor
Resolver II
Resolver II

Try two things
1. Change it to [Parent.Default] with the square brackets
if that doesn't work just use a lookup
2. Lookup(ComboboxDatasource, UnitNumber = Parent.Default)


-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,255)