Can Granite select replicate HTML5 <select multiple> | Community
Skip to main content
June 7, 2016
Solved

Can Granite select replicate HTML5 <select multiple>

  • June 7, 2016
  • 1 reply
  • 1132 views

Hi,

 

If I have granite/ui/components/foundation/form/select.

How can I modify it to have multiple select, in HTML5 one just changes <select> to <select multiple>

Or is there another granite component I must use.

 

Regards

Clive Stewart

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Clive_Stewart

I just worked it out

From https://docs.adobe.com/docs/en/aem/6-1/ref/granite-ui/api/jcr_root/libs/granite/ui/components/foundation/form/select/index.html you set one of the select node's properties to multiple = true

1 reply

Clive_StewartAuthorAccepted solution
June 7, 2016

I just worked it out

From https://docs.adobe.com/docs/en/aem/6-1/ref/granite-ui/api/jcr_root/libs/granite/ui/components/foundation/form/select/index.html you set one of the select node's properties to multiple = true