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

How to set Default Value for combobox EditForm

Hello

In my app I use a CDS Entity as a Data Source.
One of the fields of this entity is a option set with four values.

In my app I have a form, which cointains this option set field as a combobox
How can I set the default value of this field to one of the choices of the optionset field?

1 ACCEPTED SOLUTION

Accepted Solutions
Responsive Resident
Responsive Resident

Hi,

 

In DefaultSelectedItems property of the combobox select the value which you want to default to. example ["Item 1"].

Please note it should be in [] (square braces) as it expects in table format.

 

Mark the answer as verified if it answered your question.

 

Regards,

Pavan Kumar garlapati

View solution in original post

1 REPLY 1
Responsive Resident
Responsive Resident

Hi,

 

In DefaultSelectedItems property of the combobox select the value which you want to default to. example ["Item 1"].

Please note it should be in [] (square braces) as it expects in table format.

 

Mark the answer as verified if it answered your question.

 

Regards,

Pavan Kumar garlapati

View solution in original post

Helpful resources

Announcements
secondImage

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Solution Authors
Top Kudoed Authors
Users online (15,194)