Expand my Community achievements bar.

SOLVED

AEM Granite UI Multifield component with dynamic selection of fields

Avatar

Level 3

Hi ,

Anyone who can help on this as I am not getting any helpx doc on this topic.

Just an Example Problem Scenario:

Multifield component - Touch UI

Single filed or container should have choose option:

1) Image filed - pathbrowser

2) Rich text field -  richtext

So that I can achieve some list like

rte content

image

image

rte content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

Unfortunately Granite doesn't have OR multifield container(optional item multifield).

you can achieve this by hiding all field on load and provide radio(checkbox for more than 1 field) to enable/show field whichever author wants.



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

Unfortunately Granite doesn't have OR multifield container(optional item multifield).

you can achieve this by hiding all field on load and provide radio(checkbox for more than 1 field) to enable/show field whichever author wants.



Arun Patidar