0

I am using Select2 drop down to allow multiple selections but it is removing the selected value from the drop-down list. How can I disable that? I want to show all the values in the drop-down.

xyz.select2({ formatResult: formatElement, 
              formatSelection: formatElement, 
              closeOnSelect: false }) 
sparkhee93
  • 1,343
  • 3
  • 19
  • 27
userQuie
  • 1
  • 2
  • Please give some code – Schneyer Jan 28 '16 at 11:23
  • @Schneyer : Here is a code snippet, I am using for dropdown, xyz.select2({ formatResult: formatElement, formatSelection: formatElement, closeOnSelect: false }) I am trying to multiselect the options and also show the selected value in the drop-down list. – userQuie Jan 28 '16 at 11:34
  • Please can you attach the screen shot of your issue ? – AsgarAli Jan 28 '16 at 17:01
  • its similar to what is shown in this example: http://jsfiddle.net/learner73/LfhL33kc/1/ On selecting a particular value, it disappears from the drop down list. – userQuie Jan 29 '16 at 05:16

0 Answers0