- class with .tomselect can do search for value on select option field
21 lines
331 B
JavaScript
21 lines
331 B
JavaScript
import "./bootstrap";
|
|
|
|
import "../metronic/core/index";
|
|
import "../metronic/app/layouts/base.js";
|
|
|
|
import $ from 'jquery';
|
|
|
|
window.jQuery = $;
|
|
window.$ = $;
|
|
|
|
|
|
import TomSelect from "tom-select";
|
|
|
|
let settings = {
|
|
plugins: ['dropdown_input'],
|
|
create: false,
|
|
createOnBlur: true
|
|
};
|
|
|
|
new TomSelect('.tomselect', settings);
|