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:
parent
b9e3066e47
commit
c4e1e7a9ec
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user