Google-themed fork of Select2. Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.
Hide selected item in select2.I think we should hide the item which has been selected.
If there are two level data and the top level can not be selected(not id attribute), when we call the the val() function to select a item, the result will selected the top level in old code.
Hide selected item in select2.I think we should hide the item which has been selected. If there are two level data and the top level can not be selected(not id attribute), when we call the the val() function to select a item, the result will selected the top level in old code.