mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-27 12:19:56 +00:00
feat: add restore on backspace plugin for tom select
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user