Skip to content

Commit

Permalink
fix(ui): require application, pipeline, and a status when adding a pi…
Browse files Browse the repository at this point in the history
…peline trigger (#7308)
  • Loading branch information
Miles Matthias authored and maggieneterval committed Aug 9, 2019
1 parent f3de167 commit 74ea2e7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export function PipelineTrigger(pipelineTriggerProps: IPipelineTriggerConfigProp
name="application"
label="Application"
fastField={false}
required={true}
input={props => (
<ReactSelectInput
{...props}
Expand All @@ -64,6 +65,7 @@ export function PipelineTrigger(pipelineTriggerProps: IPipelineTriggerConfigProp
name="pipeline"
label="Pipeline"
fastField={false}
required={true}
input={props => (
<ReactSelectInput
{...props}
Expand All @@ -79,6 +81,7 @@ export function PipelineTrigger(pipelineTriggerProps: IPipelineTriggerConfigProp
<FormikFormField
name="status"
label="Pipeline Status"
required={true}
input={props => <ChecklistInput {...props} stringOptions={statusOptions} inline={true} />}
/>
</>
Expand Down

0 comments on commit 74ea2e7

Please sign in to comment.