diff --git a/README.md b/README.md index 742ba369..79a118c6 100644 --- a/README.md +++ b/README.md @@ -861,7 +861,7 @@ trim | Boolean | true enforceWhitelist | Boolean | false | Should ONLY use tags allowed in whitelist.
In `mix-mode`, setting it to `false` will not allow creating new tags. autoComplete.enabled | Boolean | true | Tries to suggest the input's value while typing (match from whitelist) by adding the rest of term as grayed-out text autoComplete.rightKey | Boolean | false | If `true`, when `→` is pressed, use the suggested value to create a tag, else just auto-completes the input. In mixed-mode this is ignored and treated as "true" -whitelist | Array | [] | An array of allowed tags (*Strings* or *Objects*). Also used for auto-completion when `autoCompletion.enabled` is `true` +whitelist | Array | [] | An array of allowed tags (*Strings* or *Objects*). When using *Objects* in the *whitelist* array a `value` property is a must.
Also, the *whitelist used for auto-completion when `autoCompletion.enabled` is `true` blacklist | Array | [] | An array of tags which aren't allowed addTagOnBlur | Boolean | true | Automatically adds the text which was inputed as a tag when blur event happens callbacks | Object | {} | Exposed callbacks object to be triggered on events: `'add'` / `'remove'` tags