Expand my Community achievements bar.

SOLVED

How to set Default value in Dropdown in fragment model ?

Avatar

Level 3

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

Community Advisor

Try adding the jcr:property

selected = {Boolean}true

Avatar

Level 3

Hi @Anmol_Bhardwaj 

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