cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nicola94
Level: Powered On

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
PavanKumar
Level 8

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
PavanKumar
Level 8

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
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (10,249)