components icon indicating copy to clipboard operation
components copied to clipboard

Disable Sort for multi select

Open manasarora119 opened this issue 7 years ago • 3 comments

How to get list of data from multi select dropdown in same order in which user chooses .

Currently list gets sorted ,how to override / disable this sort functionality

manasarora119 avatar Feb 11 '19 07:02 manasarora119

@manasarora119 You can use the sortComparator input to pass a custom sorting function that is called when sorting the selected values.

Here is a stackblitz example

ViktorSlavov avatar Feb 11 '19 09:02 ViktorSlavov

@ViktorSlavov , Great , it works fine .

Thanks for your quick response

manasarora119 avatar Feb 11 '19 09:02 manasarora119

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.