Showing posts with label select2. Show all posts
Showing posts with label select2. Show all posts

Sunday, June 19, 2016

Select2 4.0 placeholder undefined


Answer form stackoverflow

down voteaccepted
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