When using the multi select component (https://tangoe.design/ui-kit/forms/select#form-select-multiple), if a list is filtered and the users clicks the 'Select All' option, it applies every option in the list not just the expected results after the user has filtered.
Also the component needs to show the filtered count in the 'Select All' link (i.e. 'Select All 8 Results').
When nothing is filtered the count should still be displayed in the 'Select All' link. So if there are 100 total results in the list, when the dropdown is open then the link should display as 'Select All 100 Results'.
Expected behavior
Only the filtered (visible) options should be selected. For example, when clicking the 'Select All 8 Results', update code to only select those filtered 8 results and not the full list of options.
When using the multi select component (https://tangoe.design/ui-kit/forms/select#form-select-multiple), if a list is filtered and the users clicks the 'Select All' option, it applies every option in the list not just the expected results after the user has filtered.
Also the component needs to show the filtered count in the 'Select All' link (i.e. 'Select All 8 Results'). When nothing is filtered the count should still be displayed in the 'Select All' link. So if there are 100 total results in the list, when the dropdown is open then the link should display as 'Select All 100 Results'.
To Reproduce Steps to reproduce the behavior:
Expected behavior Only the filtered (visible) options should be selected. For example, when clicking the 'Select All 8 Results', update code to only select those filtered 8 results and not the full list of options.