bug: remove clearValidation from onTryoutClick (#5955)
This commit is contained in:
@@ -22,6 +22,12 @@ export default class Execute extends Component {
|
||||
this.props.onExecute()
|
||||
}
|
||||
specActions.execute( { operation, path, method } )
|
||||
} else {
|
||||
// deferred by 40ms, to give element class change time to settle.
|
||||
specActions.clearValidateParams( [path, method] )
|
||||
setTimeout(() => {
|
||||
specActions.validateParams([path, method])
|
||||
}, 40)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user