diff --git a/frontend/eslint.config.js b/frontend/eslint.config.js index b7d3975b..925b4f9f 100644 --- a/frontend/eslint.config.js +++ b/frontend/eslint.config.js @@ -199,7 +199,12 @@ export default defineConfig( { from: { type: 'user' }, allow: { to: { type: ['shared'] } } }, { from: { type: 'notification' }, allow: { to: { type: ['shared'] } } }, { from: { type: 'conversation' }, allow: { to: { type: ['shared'] } } }, - { from: { type: 'timeline' }, allow: { to: { type: ['shared'] } } }, + // Timeline curator event editor selects persons and documents by + // design (mirrors the geschichte editor) — #781. + { + from: { type: 'timeline' }, + allow: { to: { type: ['shared', 'person', 'document'] } } + }, { from: { type: 'shared' }, allow: { to: { type: ['shared'] } } }, { from: { type: 'routes' }, diff --git a/frontend/src/lib/document/DocumentMultiSelect.svelte b/frontend/src/lib/document/DocumentMultiSelect.svelte index 6bf8ed02..f190c5fb 100644 --- a/frontend/src/lib/document/DocumentMultiSelect.svelte +++ b/frontend/src/lib/document/DocumentMultiSelect.svelte @@ -13,13 +13,16 @@ interface Props { hiddenInputName?: string; /** Empty-state text shown inside the chip container when nothing is selected. */ emptyLabel?: string; + /** id of the search input so a