Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM 6.3 coral select to show an emtpy without value

Avatar

Level 7

Hi ,

We have classic and touch ui .In classic have select dropdown shows with any value when drop down and when clicking an the select it showing value

How to achieve the same in touch ui

1845716_pastedImage_0.png

In Touch UI:-

What is the parameter that i need to add to make it like classic. I added emtpyOption but is creating an emtpy space totally

<buttontype

                                                        jcr:primaryType="nt:unstructured"

                                                        sling:resourceType="granite/ui/components/foundation/form/select"

                                                        emptyOption="{Boolean}true"

                                                        fieldLabel="Select the type of button"

                                                        name="./selectbutton">

                                                        <items jcr:primaryType="nt:unstructured">

                                                            <cta

                                                                jcr:primaryType="nt:unstructured"

                                                                text="CTA"

                                                                value="cta"/>

                                                            <hyperlink

                                                                jcr:primaryType="nt:unstructured"

                                                                text="Hyperlink"

                                                                value="hyperlink"/>

                                                        </items>

                                                    </buttontype>

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 7

Solution:-

emptyText="select any option"

View solution in original post

1 Reply

Avatar

Correct answer by
Level 7

Solution:-

emptyText="select any option"