Skip to content

Commit

Permalink
fix(k8s): fix bake manifest selector (#7249) (#7250)
Browse files Browse the repository at this point in the history
  • Loading branch information
spinnakerbot authored and ethanfrogers committed Jul 23, 2019
1 parent 21ff047 commit 4839aaa
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as React from 'react';
import { Option } from 'react-select';

import { StageArtifactSelectorDelegate } from 'core/artifact';
import { IArtifact, IExpectedArtifact, IPipeline } from 'core/domain';
Expand Down Expand Up @@ -111,8 +110,8 @@ export class BakeManifestStageForm extends React.Component<
>
<ReactSelectInput
clearable={false}
onChange={(o: Option<string>) => {
this.props.formik.setFieldValue('templateRenderer', o.value);
onChange={(o: React.ChangeEvent<HTMLSelectElement>) => {
this.props.formik.setFieldValue('templateRenderer', o.target.value);
}}
value={stage.templateRenderer}
stringOptions={this.templateRenderers}
Expand Down

0 comments on commit 4839aaa

Please sign in to comment.