Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit 59aed2c

Browse files
author
Noah Lee
authored
Add showSearch option (#387)
1 parent 12e25a8 commit 59aed2c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: ui/src/components/DeployForm.tsx

+3
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ export default function DeployForm(props: DeployFormProps): JSX.Element {
221221
options={props.branches.map(branch => mapBranchToOption(branch))}
222222
onSelectOption={onSelectBranch}
223223
onClickAddItem={props.onClickAddBranch}
224+
showSearch
224225
placeholder="Select branch"
225226
style={styleWidthForCheck}/>
226227
</Form.Item>
@@ -240,6 +241,7 @@ export default function DeployForm(props: DeployFormProps): JSX.Element {
240241
options={props.commits.map(commit => mapCommitToOption(commit))}
241242
onSelectOption={onSelectCommit}
242243
onClickAddItem={props.onClickAddCommit}
244+
showSearch
243245
placeholder="Select commit"
244246
style={styleWidthForCheck}/>
245247
</Form.Item>
@@ -259,6 +261,7 @@ export default function DeployForm(props: DeployFormProps): JSX.Element {
259261
options={props.tags.map(tag => mapTagToOption(tag))}
260262
onSelectOption={onSelectTag}
261263
onClickAddItem={props.onClickAddTag}
264+
showSearch
262265
placeholder="Select commit"
263266
style={styleWidthForCheck}/>
264267
</Form.Item>

0 commit comments

Comments
 (0)