How can I implement multiselect component with "Select All" option?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2017 08:00 AM
I am using alfresco/forms/controls/MultiSelectInput component in my page. There is no option to select all items.
Is there way to do with MultiSelectInput Component or else?
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2017 01:58 PM
AFAIK there is no such option for good reason - you can simply add a CheckBox widget with the label "select all" and have the multi select input conditionally disabled. So either the user explicitly selects any of the provided option or they just chose your select all checkbox. There is no need for the multi select input widget to handle that (and it shouldn't - modules / widgets should focus on one very specific use case, and in this case it is about allowing multiple selection similar to a plain HTML multi select field).

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2017 03:13 AM
Thanks for quick reply Axel.
