|
@@ -69,7 +69,8 @@ function formatState (state) {
|
|
};
|
|
};
|
|
|
|
|
|
$(".js-example-templating").select2({
|
|
$(".js-example-templating").select2({
|
|
- templateResult: formatState
|
|
|
|
|
|
+ templateResult: formatState,
|
|
|
|
+ templateSelection: formatState
|
|
});
|
|
});
|
|
{% endhighlight %}
|
|
{% endhighlight %}
|
|
|
|
|