AuraMultiSelect
AuraMultiSelect copied to clipboard
Error
I have below error. Can you please help? Uncaught Action failed: c:MultiSelect$controller$init [Cannot read property 'sort' of undefined] Callback failed: aura://ComponentController/ACTION$getComponent
I'm guessing you are passing in an empty list. Fix is to check this before trying to sort it.
I managed to solve it. Thanks!
The issue is that I can't select more than one item, even though I added the code
<c:MultiSelect aura:id="my-multi-select" options="{!v.options}" label="Status" selectChange="{!c.handleSelectChangeEvent}" selectedItems="{!v.mySelectedItems}" />
Where could be the issue? Thank you for the help!!!