vitalets/x-editable — pull request #571 by Pitoziq (2014-04-15 22:33:14+00:00)
Title: Fixed itemsByValue editable utility for select2 selectable optgroup hand...

Select2 allows to have nested optgroups selectable, but itemsByValue utility don't check item for selectability in case if found children defined. There is example: http://jsfiddle.net/pitoziq/fmw4G/2/.