implement testsNameItemEditor funktionalität

This commit is contained in:
2025-09-12 10:23:47 +02:00
parent bcf24122bc
commit 012f7ee3e8
5 changed files with 152 additions and 73 deletions

View File

@@ -11,11 +11,10 @@
}
export let list: ListItem[] = [];
export let currentName: string = '';
export let currentName: string;
export let onSave: (n: string, o: string) => unknown = () => {};
export let onDelete: (n: string) => unknown = () => {};
// lokaler State
let localName = currentName;
let isEditing = false;
let inputRef: HTMLInputElement | null = null;