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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

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

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (66,976)