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"

  • June 2, 2024
  • 1 reply
  • 676 views

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.
Best answer by gkalyan

@arbesakadriu 

This is a workaround. 

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

1 reply

gkalyan
gkalyanAccepted solution
New Participant
June 4, 2024

@arbesakadriu 

This is a workaround. 

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

gkalyan
New Participant
June 4, 2024

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

 

gkalyan
New Participant
June 6, 2024

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