Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
Yair Even Or authored and Yair Even Or committed Jul 31, 2022
1 parent 1c37fa6 commit c0d0f09
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</head>
<body>
<form method="get" action="not-exists">
<!-- <fieldset>
<fieldset>
<input name='tags-regular' placeholder='user input' value=''>
</fieldset>
<fieldset>
Expand All @@ -49,7 +49,7 @@
</fieldset>
<fieldset>
<input name='value_empty_JSON' class='value_empty_JSON' value='[]'>
</fieldset> -->
</fieldset>
<fieldset>
<input name='value_JSON' class='value_JSON' value='[{"value":1, "editable":false}, {"value":2, "title":"xxx"}]'>
</fieldset>
Expand All @@ -69,7 +69,7 @@
})()

let tagify = new Tagify(inputElm, {
// whitelist: ['abb', 'cbb', 'bb', 'bb1', 'aaabb', 'bbb', 'aa', 'bba'],
whitelist: ['abb', 'cbb', 'bb', 'bb1', 'aaabb', 'bbb', 'aa', 'bba'],
// whitelist: ["a", "ac", "aab", "aaa", "b", "bb", "ccc"],
id: 'test1',
tagTextProp: 'name',
Expand All @@ -83,7 +83,7 @@
keepInvalidTags: true,
// enforceWhitelist: true,
dropdown: {
enabled: 1,
enabled: 0,
sortby: 'startsWith',
// caseSensitive: true,
// sortby(suggestions, query){
Expand Down

0 comments on commit c0d0f09

Please sign in to comment.