AuraMultiSelect icon indicating copy to clipboard operation
AuraMultiSelect copied to clipboard

Extra } in MultiSelect Controller

Open Bard09 opened this issue 6 years ago • 8 comments

2nd to last } is duplicate. I removed it and was able to deploy to server. Hope this helps!

Bard09 avatar May 30 '18 20:05 Bard09

Hi, thanks for that... can you point out the exact file where this occurs so I can fix?

rapsacnz avatar May 30 '18 21:05 rapsacnz

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.

Bard09 avatar May 31 '18 19:05 Bard09

I should probably get my production version and update the code... I'll see if I can do that next week.

rapsacnz avatar May 31 '18 20:05 rapsacnz

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! :)

Bard09 avatar May 31 '18 20:05 Bard09

Any ETA on updating?

Bard09 avatar Jun 12 '18 22:06 Bard09

Have been so busy this week - will try today.

rapsacnz avatar Jun 13 '18 18:06 rapsacnz

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.

rapsacnz avatar Jun 13 '18 22:06 rapsacnz

Let me know when you've tested the component so I can close this.

rapsacnz avatar Jun 14 '18 18:06 rapsacnz