Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to set Default value in Dropdown in fragment model ?

Avatar

Level 2

Hi,

I need to set Default value in Dropdown of fragment model as there is no property of "default value" in Dropdown datatype. Please suggest what need to do to get it.

Rohit4_0-1651220053621.png

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@Rohit4 OOTB Default option is not available as of now, Please refer below URL to look for custom solution by extending current behavior. Also please log a ticket with Adobe.

https://blogs.perficient.com/2021/05/27/how-to-extend-content-fragment-model-data-types/

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

@Rohit4 OOTB Default option is not available as of now, Please refer below URL to look for custom solution by extending current behavior. Also please log a ticket with Adobe.

https://blogs.perficient.com/2021/05/27/how-to-extend-content-fragment-model-data-types/

Avatar

Level 2

Hi @AnmolBhardwaj1808 

Where i need to add jcr:property , [ selected = {Boolean}true ] in below properties. Please let me know exact location where i need to add in below properties or other CRX window.

Rohit4_0-1651567297914.png