cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Responsive Resident
Responsive Resident

Re: How to set Default Value for combobox EditForm

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
Highlighted
Responsive Resident
Responsive Resident

Re: How to set Default Value for combobox EditForm

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

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

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.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (5,343)