Answer form stackoverflow
in this example if we delete
|| repo.text from formatRepoSelection it will not work. Because the repo.text is placeholder.
P.S. select2 4.0 do not need to empty
option tag for placeholder working
Source : http://stackoverflow.com/questions/30302329/select2-4-0-placeholder-undefined
|
No comments:
Post a Comment