From ff3a71f9d37a8ad63012fa110e22a0cb3bdbf326 Mon Sep 17 00:00:00 2001 From: Eduard Heimbuch Date: Thu, 5 Dec 2019 10:29:39 +0100 Subject: [PATCH] make label optional on Autocomplete component since its already used without label --- scm-ui/ui-components/src/Autocomplete.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scm-ui/ui-components/src/Autocomplete.tsx b/scm-ui/ui-components/src/Autocomplete.tsx index 814be20aa2..e7fff461e2 100644 --- a/scm-ui/ui-components/src/Autocomplete.tsx +++ b/scm-ui/ui-components/src/Autocomplete.tsx @@ -8,7 +8,7 @@ import { ActionMeta, ValueType } from "react-select/lib/types"; type Props = { loadSuggestions: (p: string) => Promise; valueSelected: (p: SelectValue) => void; - label: string; + label?: string; helpText?: string; value?: SelectValue; placeholder: string;