Feature #12 : add function to handle select option field

- class with .tomselect can do search for value on select option field
This commit is contained in:
Daeng Deni Mardaeni 2024-08-13 10:44:52 +07:00
parent b9e3066e47
commit c4e1e7a9ec

View File

@ -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);