Skip to main content
Adobe Champion
March 7, 2022
解決済み

How to add default value to a drop down field in a content fragment model

  • March 7, 2022
  • 2 の返信
  • 2260 ビュー

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?

 

There is not default or required property available for dropdown field.

How to assign a default value to this dropdown?

このトピックへの返信は締め切られました。
ベストアンサー P_V_Nair

I removed the below property from the properties so that I have one of my option selected as default.

This is the work around I have applied , since there is no required property available for OOB enumeration field in CF.

2 の返信

NimashaJain
Adobe Employee
Adobe Employee
March 8, 2022

Hi @p_v_nair 

 

Can you share the screenshot details, it seems from AEM.

P_V_NairAdobe Champion作成者回答
Adobe Champion
March 8, 2022

I removed the below property from the properties so that I have one of my option selected as default.

This is the work around I have applied , since there is no required property available for OOB enumeration field in CF.