Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
SOLVED

Setting Default Values for Dropdowns in Content Fragment Models"

Avatar

Level 1

I have a dropdown in one of my content fragment model and I want to make sure there is some value in there by default. How can I achieve this?

arbesakadriu_0-1717370152970.png

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor and Adobe Champion

@arbesakadriu 

This is a workaround. 

In the CRX de, remove the "emptyOption" property and the first option will be showing up

enum_cf.png

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor and Adobe Champion

@arbesakadriu 

This is a workaround. 

In the CRX de, remove the "emptyOption" property and the first option will be showing up

enum_cf.png

Avatar

Community Advisor and Adobe Champion

@arbesakadriu once you remove the "emptyOption" property from the model, you CF fragment should show first value as the default value.

 

Avatar

Community Advisor and Adobe Champion

@arbesakadriu Did this workaround help you in resolving your issue?