The current version of select2 supports jQuery objects in both templateResult and templateSelection. The current version of selectWoo only supports them for templateResult.
This is how my selected template appears when I use a jQuery object in selectWoo:
SingleSelection.prototype.update is different in the current version of select2, and in particular, changing:
The current version of select2 supports jQuery objects in both
templateResult
andtemplateSelection
. The current version of selectWoo only supports them fortemplateResult
.This is how my selected template appears when I use a jQuery object in selectWoo:
SingleSelection.prototype.update
is different in the current version of select2, and in particular, changing:to:
would add support for jQuery objects.