From 2f87afdbc2ffbc14061979b29c7ce71212e503b1 Mon Sep 17 00:00:00 2001 From: Eduard Heimbuch Date: Tue, 3 Nov 2020 13:30:00 +0100 Subject: [PATCH] make placeholders overwritable --- scm-ui/ui-components/src/forms/FilterInput.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scm-ui/ui-components/src/forms/FilterInput.tsx b/scm-ui/ui-components/src/forms/FilterInput.tsx index fad1611c00..df63529377 100644 --- a/scm-ui/ui-components/src/forms/FilterInput.tsx +++ b/scm-ui/ui-components/src/forms/FilterInput.tsx @@ -30,6 +30,7 @@ type Props = WithTranslation & { filter: (p: string) => void; value?: string; testId?: string; + placeholder?: string; }; type State = { @@ -70,14 +71,14 @@ class FilterInput extends React.Component { }; render() { - const { t, testId } = this.props; + const { t, testId, placeholder } = this.props; return (