From 4e910820bd15fa2172b6591e637d44a02f7c5d0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20C=C3=B3rdova?= Date: Tue, 9 Mar 2021 10:27:14 -0500 Subject: [PATCH 1/5] Adding latinize-tags flag to ignore accents. --- README.md | 1 + index.html | 13 +++++++++++++ package-lock.json | 5 +++++ package.json | 4 +++- src/VoerroTagsInput.vue | 33 +++++++++++++++++++++++---------- 5 files changed, 45 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 440fd28..262c372 100644 --- a/README.md +++ b/README.md @@ -179,6 +179,7 @@ limit | Number | 0 | Limit the number of tags that can be chosen. 0 = no limit. hide-input-on-limit | Boolean | false | Hide the input field when the tags limit is reached. only-existing-tags | Boolean | false | Only existing tags can be added/chosen. New tags won't be created. case-sensitive-tags | Boolean | false | Determines whether tags are case sensitive. Setting this to `true` would allow tags like `php`, `PHP`, `PhP`, and so on to be added at the same time. +latinize-tags | Boolean | false | Determines whether the accents in words are ignored or not. Setting this to `true` would ignore the differences between words like `voila` and `voilà`. delete-on-backspace | Boolean | true | Whether deleting tags by pressing Backspace is allowed. allow-duplicates | Boolean | false | Allow users to add the same tags multiple times. validate | Function | `text => true` | Callback to validate tags' text with. diff --git a/index.html b/index.html index 5f9c750..0406cb6 100644 --- a/index.html +++ b/index.html @@ -141,6 +141,15 @@

Options

+
+
+ +
+
+