mirror of
https://github.com/Kovah/LinkAce.git
synced 2025-01-17 21:28:30 +01:00
Allow unlimited number of items in selects (#568)
This commit is contained in:
parent
ad396912cd
commit
5d38293edd
@ -10,7 +10,8 @@ export default class SimpleSelect {
|
||||
constructor ($el) {
|
||||
new TomSelect($el, {
|
||||
plugins: ['caret_position', 'input_autogrow'],
|
||||
create: false
|
||||
create: false,
|
||||
maxOptions: null,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
1
resources/assets/js/components/TagsSelect.js
vendored
1
resources/assets/js/components/TagsSelect.js
vendored
@ -26,6 +26,7 @@ export default class TagsSelect {
|
||||
delimiter: ',',
|
||||
persist: false,
|
||||
create: this.selectAllowsCreation(),
|
||||
maxOptions: null,
|
||||
onItemAdd:function(){
|
||||
this.setTextboxValue('');
|
||||
this.refreshOptions();
|
||||
|
Loading…
x
Reference in New Issue
Block a user