You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
$rendered.empty().text(formatted);
to:
$rendered.empty().append(formatted);
would add support for jQuery objects.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: