Skip to content

Commit 4ee9f7b

Browse files
authored
Show same options in example as used in demo
The templateSelection option was used in the demo, but was not shown in the example code. This commit fixes it, so that copy&pasting works as expected.
1 parent 04c433d commit 4ee9f7b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/_includes/examples/themes-templating-responsive-design.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ <h2 id="templating">Templating</h2>
6969
};
7070

7171
$(".js-example-templating").select2({
72-
templateResult: formatState
72+
templateResult: formatState,
73+
templateSelection: formatState
7374
});
7475
{% endhighlight %}
7576

0 commit comments

Comments
 (0)