1
0
mirror of synced 2025-03-10 22:56:12 +03:00

Merge pull request #4745 from FROGGS/patch-1

Show same options in example as used in demo
This commit is contained in:
James Pic 2017-01-30 22:20:16 +01:00 committed by GitHub
commit 8dc02bcfb8

View File

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