Setting Default Values for Dropdowns in Content Fragment Models" | Community
Skip to main content
New Participant
June 2, 2024
Solved

Setting Default Values for Dropdowns in Content Fragment Models"

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?

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
gkalyan
gkalyanAccepted solution
Level 1
June 4, 2024

@arbesakadriu 

This is a workaround. 

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

3 replies

gkalyan
gkalyanAccepted solution
Level 1
June 4, 2024

@arbesakadriu 

This is a workaround. 

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

Translate
gkalyan
Level 1
June 4, 2024

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

 

Translate
gkalyan
Level 1
June 6, 2024

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

Translate