mirror of
https://github.com/ae-utbm/sith.git
synced 2024-12-22 07:41:14 +00:00
feat: add restore on backspace plugin for tom select
This commit is contained in:
parent
6416de237f
commit
b06a06f50c
@ -67,6 +67,8 @@ export class AutoCompleteSelectBase extends inheritHtmlElement("select") {
|
|||||||
remove_button: {
|
remove_button: {
|
||||||
title: gettext("Remove"),
|
title: gettext("Remove"),
|
||||||
},
|
},
|
||||||
|
// biome-ignore lint/style/useNamingConvention: this is required by the api
|
||||||
|
restore_on_backspace: {}
|
||||||
},
|
},
|
||||||
persist: false,
|
persist: false,
|
||||||
maxItems: this.node.multiple ? this.max : 1,
|
maxItems: this.node.multiple ? this.max : 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user