Skip to main content
Level 6
November 28, 2022
Beantwortet

OOTB Show Hide is not working on Multifield

  • November 28, 2022
  • 1 Antwort
  • 517 Ansichten

I have one dropdown with {URL, Text}

Inside Multifiedl {Text, Title, URL}

 

If author select URL then {Title, URL} should appear

If author select Text then {Text, Title } should appear

 

I tried to obtain this scenario using 

cq-dialog-dropdown-showhide-target
.list-option-listfrom-showhide-target


I am not getting the result as required. After clicking add button these fields are hidden I have to select dropdown again and again then only it works.

Dieses Thema wurde für Antworten geschlossen.
Beste Antwort von arunpatidar

Hi,

It does not work OOTB,

 you have to write custom js. Example is here

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem6-4-multifield-with-show-hide-dropdown-changing-all-the-items/m-p/237275 

 

1 Antwort

arunpatidar
Community Advisor
Community Advisor
November 28, 2022