From 31ef5bb065aa6ab19344334aa873bbe351fcfc4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Rouleau?= Date: Mon, 21 Oct 2019 05:51:53 -0400 Subject: [PATCH] Improve `callbackOnCreateTemplates` example (#647) Shows how to add the placeholder class(es) when the item is the placeholder. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ab8b8b5..dd4fa96 100644 --- a/README.md +++ b/README.md @@ -551,7 +551,7 @@ const example = new Choices(element, { return { item: (classNames, data) => { return template(` -
+
${data.label}
`);