AEM 6.3 coral select to show an emtpy without value

Avatar

Avatar

srinivas_chann1

Avatar

srinivas_chann1

srinivas_chann1

20-10-2019

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

srinivas_chann1

Avatar

srinivas_chann1

srinivas_chann1

20-10-2019

Solution:-

emptyText="select any option"

Answers (0)