Merge pull request #4745 from FROGGS/patch-1
Show same options in example as used in demo
This commit is contained in:
commit
8dc02bcfb8
1 changed files with 2 additions and 1 deletions
|
@ -69,7 +69,8 @@ function formatState (state) {
|
|||
};
|
||||
|
||||
$(".js-example-templating").select2({
|
||||
templateResult: formatState
|
||||
templateResult: formatState,
|
||||
templateSelection: formatState
|
||||
});
|
||||
{% endhighlight %}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue