Unverified Commit d119e204 authored by Wikiki's avatar Wikiki Committed by GitHub

Merge pull request #23 from Wikiki/develop

Develop
parents 488de381 942d9366
<a name="1.0.9"></a>
## [1.0.9](https://github.com/Wikiki/bulma-tagsinput/compare/1.0.8...1.0.9) (2018-05-31)
### Bug Fixes
* issue [#49](https://github.com/Wikiki/bulma-tagsinput/issues/49) Potential Bug: TagsInput allows duplicate entries ([d88971a](https://github.com/Wikiki/bulma-tagsinput/commit/d88971a))
<a name="1.0.5"></a>
## [1.0.5](https://github.com/Wikiki/bulma-tagsinput/compare/1.0.4...1.0.5) (2018-02-21)
<a name="1.0.8"></a>
## [1.0.8](https://github.com/Wikiki/bulma-tagsinput/compare/1.0.7...1.0.8) (2018-05-12)
......
......@@ -2,7 +2,7 @@
"name": "bulma-tagsinput",
"description": "Bulma.io extension to add interaction on input tags",
"main": "tagsinput.sass",
"version": "1.0.8",
"version": "1.0.9",
"authors": [
"Wikiki <wikiki@protonmail.com> (https://wikiki.github.io)"
],
......
{
"name": "bulma-tagsinput",
"version": "1.0.8",
"version": "1.0.9",
"description": "Bulma.io extension to add interaction on input tags",
"main": "dist/bulma-tagsinput.sass",
"scripts": {
......
......@@ -46,16 +46,16 @@ export default class Tagify {
* @method
* @return {Array} Array of all TagsInput instances
*/
static attach(selector = 'input[type="tags"]') {
let tagsinputlInstances = new Array();
static attach(selector = 'input[type="tags"]', options = {}) {
let tagsinputsInstances = new Array();
const tagsinputs = document.querySelectorAll(selector);
[].forEach.call(tagsinputs, tagsinput => {
setTimeout(() => {
tagsinputlInstances.push(new Tagify(tagsinput));
tagsinputsInstances.push(new Tagify(tagsinput, options));
}, 100);
});
return tagsinputlInstances;
return tagsinputsInstances;
}
init() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment