HTL - render multiple select dropdown
Could you advice on how to display the multi selected dropdown list via Sightly HTL for AEM 6.4? For example in a dropdown inputField, multi selected: name, email, phone. How can HTL display that on a component? Thanks in advance
cq dialog:
sling:resourceType="granite/ui/components/foundation/form/select"
multiple="{Boolean}true"
name="./inputField"
I tried the following but doesn't work
<sly data-sly-test="${properties.inputField == name}">
<input type="text" name="name" />
</sly>
I wanted to print a pre-defined code based on the multi value
<input type="text" name="name" />
<input type="email" name="email" />
<input type="tel" name="phone" />
When check in the content the the properties inputField type is multi with values name,email,phone
