AuraMultiSelect
AuraMultiSelect copied to clipboard
Extra } in MultiSelect Controller
2nd to last } is duplicate. I removed it and was able to deploy to server. Hope this helps!
Hi, thanks for that... can you point out the exact file where this occurs so I can fix?
src/aura/MultiSelect/MultiSelectController.js is the file.
There's also another error in src/aura/MultiSelect/MultiSelectHelper.js
else if (values.length > 1) {
"values" needs to be "labels" for it to work
I'm still debugging this.... will keep you posted.
I should probably get my production version and update the code... I'll see if I can do that next week.
Keep me posted-- I was also having troubles with the 'init' method not being populated with options values correctly on load. I had to do a handler on change with the options attribute to get it to work.
If you're updating it soon with a stable version, I'll hold up on my debug efforts! :)
Any ETA on updating?
Have been so busy this week - will try today.
Ok, major update - try it now. Note you don't need to wrap it in a slds-form-element
anymore. Also, check out the other changes in the readme.
Let me know when you've tested the component so I can close this.