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.

Touch UI clears multifield text on mobile

Avatar

Level 1

Touch UI doesn't show the multi fields values on mobile devices (if you resize the screen back to desktop and open the dialog, the values return)

If the author makes an edit in mobile UI and saves this dialog, all the info is lost and replaced with blanks.

Touch UI in Desktop:

1405943_pastedImage_8.png

Touch UI in Mobile:

Multi Fields are seen empty, the values were saved properly in Touch UI desktop before

1405930_pastedImage_7.png

Multi field Code:

<platforms
   jcr:primaryType="nt:unstructured"
   sling:resourceType="granite/ui/components/foundation/form/multifield"
   class="foundation-layout-util-maximized-alt long-label"
   fieldLabel="Platforms">
     <field
      jcr:primaryType="nt:unstructured"
      sling:resourceType="granite/ui/components/foundation/form/fieldset"
      cq-msm-lockable="platforms"

      acs-commons-nested="JSON_STORE"     

      name="./platforms">
              <layout
             jcr:primaryType="nt:unstructured"
             sling:resourceType="granite/ui/components/foundation/layouts/fixedcolumns"
             method="absolute"/>
            <items jcr:primaryType="nt:unstructured">
                      <column
                       jcr:primaryType="nt:unstructured"
                       sling:resourceType="granite/ui/components/foundation/container">
                                <items jcr:primaryType="nt:unstructured">
                                          <name
                                           jcr:primaryType="nt:unstructured"
                                           sling:resourceType="granite/ui/components/foundation/form/textfield"

                                               cq-msm-lockable="name"

                                           required="{Boolean}true"
                                           fieldDescription="Name to appear in aria label" 
                                           fieldLabel="Name"
                                           name="./name"/>
                                        <iconClass
                                           jcr:primaryType="nt:unstructured"
                                           sling:resourceType="granite/ui/components/foundation/form/textfield"
                                           required="{Boolean}true"
                                           fieldLabel="Icon Class"

                                               cq-msm-lockable="iconClass"
                                           fieldDescription="icon class(es) to display" 
                                           name="./iconClass"/>
                                          <url
                                           jcr:primaryType="nt:unstructured"
                                           sling:resourceType="granite/ui/components/foundation/form/pathbrowser"

                                           cq-msm-lockable="url"
                                           required="{Boolean}true"
                                           fieldDescription="URL to social media" 
                                           fieldLabel="URL"
                                           name="./url"/>
                                </items>
                      </column>
            </items>
    </field>
</platforms>

4 Replies

Avatar

Level 10

Please log a day care ticket - this should not be happening. Eng needs to fix and make sure all resource types function same on Mobile as they do on Desktop.

Avatar

Level 3

This is still happening, by the way. We'll open a daycare ticket to see if this issue can be addressed.

Avatar

Community Advisor

I don't think so values are empty. If it is, there won't be any items in Multifield section.

The issue could be the font color, which seems white.



Arun Patidar

Avatar

Level 3

smacdonald2008​ I am trying to understand how the Granite Multifield works. We have a similar use case and are trying to apply logic similar to what is seen here and this HelpX tutorial: https://helpx.adobe.com/experience-manager/using/htl_tab_component.html. To my newbie eyes it looks like it may be depend on ACS AEM Commons to store data as JSON. Is this correct or am I misinterpreting? Thanks in advance for your help!