AuraMultiSelect icon indicating copy to clipboard operation
AuraMultiSelect copied to clipboard

Error

Open Alexandra281989 opened this issue 6 years ago • 2 comments

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

Alexandra281989 avatar Aug 26 '18 07:08 Alexandra281989

I'm guessing you are passing in an empty list. Fix is to check this before trying to sort it.

rapsacnz avatar Aug 26 '18 23:08 rapsacnz

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!!! image

Alexandra281989 avatar Aug 27 '18 08:08 Alexandra281989