How to create a dropdown in a compoent | Community
Skip to main content
Level 6
Sep 12, 2022 6:55 AM UTC
Solved

How to create a dropdown in a compoent

I need suggestions on how to add a dropdown to a component that will display childpages I when the mention the parent page and child depth

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Sep 12, 2022 8:04 AM UTC

HI,

You need to add multifield items in the dialog.

On dropdown select event, add/remove multifield items using javascript

https://developer.adobe.com/experience-manager/reference-materials/6-5/coral-ui/coralui3/Coral.Multifield.html 

Arun Patidar

3 replies

Sanjana12Author
Level 6
Sep 12, 2022 7:46 AM UTC

Hi, how to include a multifield within a dropdown, so that when I select a particular dropdown, it will render that multifield?

Translate
arunpatidar
arunpatidarAccepted solution
New Participant
Sep 12, 2022 8:04 AM UTC

HI,

You need to add multifield items in the dialog.

On dropdown select event, add/remove multifield items using javascript

https://developer.adobe.com/experience-manager/reference-materials/6-5/coral-ui/coralui3/Coral.Multifield.html 

Translate
Arun Patidar