Expand my Community achievements bar.

SOLVED

Can Granite select replicate HTML5 <select multiple>

Avatar

Level 6

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

1 Accepted Solution

Avatar

Correct answer by
Level 6
1 Reply

Avatar

Correct answer by
Level 6

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/founda... you set one of the select node's properties to multiple = true