From 8807a77a208097d767bcef4d3248e597297aae46 Mon Sep 17 00:00:00 2001 From: Ilya Khait Date: Mon, 11 Mar 2024 20:38:45 +0000 Subject: [PATCH] Adjust placeholders --- src/fragmentarium/ui/ProvenanceSearchForm.tsx | 5 +++-- src/fragmentarium/ui/fragment/ColophonEditor.tsx | 8 ++++++-- src/fragmentarium/ui/fragment/ColophonEditorInputs.tsx | 5 +++++ 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/fragmentarium/ui/ProvenanceSearchForm.tsx b/src/fragmentarium/ui/ProvenanceSearchForm.tsx index 80ab2b3ad..df9494957 100644 --- a/src/fragmentarium/ui/ProvenanceSearchForm.tsx +++ b/src/fragmentarium/ui/ProvenanceSearchForm.tsx @@ -8,11 +8,12 @@ export default withData< { onChange: (value: string | null) => void value?: string | null + placeholder?: string }, { fragmentService: FragmentService }, ReadonlyArray> >( - ({ data, value, onChange }) => { + ({ data, value, placeholder, onChange }) => { const options = data.map((site) => ({ value: site.join(' '), label: site.join(' '), @@ -22,7 +23,7 @@ export default withData< return (