diff --git a/resources/js/app.js b/resources/js/app.js index b24af5d..b8211d4 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -7,3 +7,14 @@ import $ from 'jquery'; window.jQuery = $; window.$ = $; + + +import TomSelect from "tom-select"; + +let settings = { + plugins: ['dropdown_input'], + create: false, + createOnBlur: true +}; + +new TomSelect('.tomselect', settings);