From ff08408c845a5b75d00983cb4f16326dd8aafad2 Mon Sep 17 00:00:00 2001 From: Josh Johnson Date: Sun, 28 Oct 2018 11:18:35 +0000 Subject: [PATCH] Update README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4a6dde5..adeaa88 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ will be returned. If you target one element, that instance will be returned. return `Press Enter to add "${value}"`; }, maxItemText: (maxItemCount) => { - return `Only ${maxItemCount} values can be added.`; + return `Only ${maxItemCount} values can be added`; }, itemComparer: (choice, item) => { return choice === item; @@ -467,7 +467,7 @@ const example = new Choices(element, { **Usage:** The text that is shown when a user has inputted a new item but has not pressed the enter key. To access the current input value, pass a function with a `value` argument (see the [default config](https://github.com/jshjohnson/Choices#setup) for an example), otherwise pass a string. ### maxItemText -**Type:** `String/Function` **Default:** `Only ${maxItemCount} values can be added.` +**Type:** `String/Function` **Default:** `Only ${maxItemCount} values can be added` **Input types affected:** `text`