Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Coral UI 3 dialog checkbox multiple values other than boolean

Avatar

Level 9

Looking at the coral documentation it seems that checkbox has only one value either true of false, or  either checked value or unchecked value

We are converting from classic to touch UI, there is no equivalent of checkbox with multiple options.  

 

https://developer.adobe.com/experience-manager/reference-materials/6-5/granite-ui/api/jcr_root/libs/...

 
1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Please correct me are you expecting the below one in touch ui -

 

DEBAL_DAS_0-1648228079760.png

 

Implemented the below one touch ui -

 

DEBAL_DAS_0-1648231320900.png

 

DEBAL_DAS_1-1648231366796.png

 field definition at touch ui dialog editor -

DEBAL_DAS_2-1648231455624.pngDEBAL_DAS_3-1648231487805.png

 

Persisted author's entries -

DEBAL_DAS_4-1648231613324.png

Hope this will help.

View solution in original post

3 Replies

Avatar

Community Advisor

Hi @Mshaji 

 

As far as i know we cannot have multiple options for a checkbox in TouchUI. The best replacement would be "granite/ui/components/coral/foundation/form/select" with multiple set to true.

dev_aem_1-1648227804452.png

dev_aem_0-1648227782149.png

This is how it will be saved on the page.

dev_aem_2-1648227917133.png

 

 

https://developer.adobe.com/experience-manager/reference-materials/6-5/granite-ui/api/jcr_root/libs/...

 

Thanks,

Avatar

Correct answer by
Employee Advisor

Please correct me are you expecting the below one in touch ui -

 

DEBAL_DAS_0-1648228079760.png

 

Implemented the below one touch ui -

 

DEBAL_DAS_0-1648231320900.png

 

DEBAL_DAS_1-1648231366796.png

 field definition at touch ui dialog editor -

DEBAL_DAS_2-1648231455624.pngDEBAL_DAS_3-1648231487805.png

 

Persisted author's entries -

DEBAL_DAS_4-1648231613324.png

Hope this will help.