Solved | Community
Skip to main content

Solved

77280 Total posts
Hide or disable Touch UI dialog (asset) file upload

Does anyone know the JS code required to hide or disable an (asset) file upload in a Touch UI dialog based on if a checkbox is ticked. I am loading the JS using a client library for the dialog.                                        <items jcr:primaryType="nt:unstructured">                                            <file                                                jcr:primaryType="nt:unstructured"                                                sling:resourceType="cq/gui/components/authoring/dialog/fileupload"                                                allowUpload="{Boolean}false"                                                autoStart="{Boolean}false"                                                class="cq-droptarget"                                                fieldLabel="Image Asset"                                                fileNameParameter="./fileName"                                                fileReferenceParameter="./fileReference"                

Badge winners

Show all badges