Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

fix the bug initSelection not being called when multiple=true #136

Closed
wants to merge 2 commits into from

Conversation

tomerye
Copy link

@tomerye tomerye commented Jan 7, 2014

the problem is ui-select2 init select2 plugin before it init the element val, and select2 do not call initSelection if the val of the element is empty.
so i change the line order to first init the element val and then start select2

plunker that contain both my fix and the original directive, comment out one of them and config the the parameters

http://plnkr.co/edit/T2hpQlUoL2qJAXIsgt8T

@kbanman
Copy link
Contributor

kbanman commented Jan 20, 2014

+1
Please merge.

@ProLoser
Copy link
Member

Since I merged #143 I'm going to close this.

@ProLoser ProLoser closed this Jan 28, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants