Skip to content

Commit

Permalink
fix(ui-fix-baseurl-map): ui-fix-baseurl-map
Browse files Browse the repository at this point in the history
ui-fix-baseurl-map
  • Loading branch information
manorll committed Nov 7, 2020
1 parent 94d7907 commit cc3609b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/features/components/TestForm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ export class TestForm extends React.Component {

updatevalidationError = ({ error }) => {
const newState = Object.assign({}, this.state);
newState.urls[URL_FIELDS.BASE].error = error;
newState.urls[URL_FIELDS.STEP].error = error;
this.setState(newState);
};
Expand Down Expand Up @@ -192,6 +191,7 @@ export class TestForm extends React.Component {
<TextArea maxRows={5} value={this.state.urls[URL_FIELDS.BASE].value} placeholder={'http://my.api.com/'}
onChange={(evt, value) => {
this.validateUrl({ name: URL_FIELDS.BASE, value: evt.target.value });
this.setState({ baseUrl: evt.target.value })
}} />
</ErrorWrapper>
</TitleInput>
Expand Down

0 comments on commit cc3609b

Please sign in to comment.