We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 925db01 commit f2a7b84Copy full SHA for f2a7b84
src/fn/fn.js
@@ -9,7 +9,9 @@ export function initTagify(inputTag) {
9
// if not successfully loaded: use empty array instead
10
if (typeof taglist === 'undefined' || taglist === null) {
11
var tags = [];
12
- console.log('use empty taglist');
+ console.log(
13
+ 'use empty taglist as taglist.js has not been generated yet'
14
+ );
15
} else {
16
var tags = taglist;
17
}
@@ -19,7 +21,7 @@ export function initTagify(inputTag) {
19
21
valuesArr.map(item => item.value).join(', '),
20
22
pattern: /^[a-z0-9_-]{1,64}$/,
23
editTags: false,
- whitelist: taglist,
24
+ whitelist: tags,
25
dropdown: {
26
enabled: 0,
27
maxItems: 30,
0 commit comments