Open ronirigoni opened 8 years ago
I've followed the example http://vuejs.org/examples/select2.html to create a custom directive for using select2, and it worked fine.
But when I create a custom component I can't use the new directive inside it. It returns a weird javascript error on my console: TypeError: b.ownerDocument.defaultView is null
Am I missing something or is this an issue?
I've followed the example http://vuejs.org/examples/select2.html to create a custom directive for using select2, and it worked fine.
But when I create a custom component I can't use the new directive inside it. It returns a weird javascript error on my console: TypeError: b.ownerDocument.defaultView is null
Am I missing something or is this an issue?