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

Initialize field value of type Combo box with a text field

Hi,

 

on a canvas app, I want to initialize a field with a value that is contained in a field of type text.

I initialize an other field of type text without any issue, so I guess the issue is that their types are different.

How can I handle this?

The combo field in error, with the Default property = Inputbet.text (the original field from a previous form)202.png

The field of type text just below that is well filled with the property Default =Inputbet

201.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

@LauM 

You are trying to set the Default property of a ComboBox...that property actually does nothing on it.

You need to set the DefaultSelectedItems property.  It must be a record (not just text) of the record(s) you want selected by default.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

View solution in original post

2 REPLIES 2
Highlighted
Super User III
Super User III

@LauM 

You are trying to set the Default property of a ComboBox...that property actually does nothing on it.

You need to set the DefaultSelectedItems property.  It must be a record (not just text) of the record(s) you want selected by default.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

View solution in original post

Highlighted

It really helped, so I could do what I want!

Thanks

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

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

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (12,768)