From 701293c05fd4ef989d8725b045dc9fcd0f3ce694 Mon Sep 17 00:00:00 2001 From: noah Date: Sat, 19 Mar 2022 21:02:33 +0900 Subject: [PATCH] Add `showSearch` option --- ui/src/components/DeployForm.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/src/components/DeployForm.tsx b/ui/src/components/DeployForm.tsx index c8650454..47eecdbf 100644 --- a/ui/src/components/DeployForm.tsx +++ b/ui/src/components/DeployForm.tsx @@ -221,6 +221,7 @@ export default function DeployForm(props: DeployFormProps): JSX.Element { options={props.branches.map(branch => mapBranchToOption(branch))} onSelectOption={onSelectBranch} onClickAddItem={props.onClickAddBranch} + showSearch placeholder="Select branch" style={styleWidthForCheck}/> @@ -240,6 +241,7 @@ export default function DeployForm(props: DeployFormProps): JSX.Element { options={props.commits.map(commit => mapCommitToOption(commit))} onSelectOption={onSelectCommit} onClickAddItem={props.onClickAddCommit} + showSearch placeholder="Select commit" style={styleWidthForCheck}/> @@ -259,6 +261,7 @@ export default function DeployForm(props: DeployFormProps): JSX.Element { options={props.tags.map(tag => mapTagToOption(tag))} onSelectOption={onSelectTag} onClickAddItem={props.onClickAddTag} + showSearch placeholder="Select commit" style={styleWidthForCheck}/>