From 4c14bbfcf3fbe1970cb44f1c71aac85a2d4223fb Mon Sep 17 00:00:00 2001 From: Massimo Candela Date: Sun, 22 Oct 2023 14:38:22 +0200 Subject: [PATCH] reset index on change --- src/inputs/input.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/inputs/input.js b/src/inputs/input.js index 9f8173ad..c7dbf208 100644 --- a/src/inputs/input.js +++ b/src/inputs/input.js @@ -107,6 +107,7 @@ export default class Input { item.group = [item.group].flat(); } + this.index.reset(); for (let item of this.prefixes) { item.group = [item.group].flat(); this.index.addPrefix(item.prefix, item);