diff --git a/src/core/plugins/oas3/components/http-auth.jsx b/src/core/plugins/oas3/components/http-auth.jsx index 9750f2dd..078f5439 100644 --- a/src/core/plugins/oas3/components/http-auth.jsx +++ b/src/core/plugins/oas3/components/http-auth.jsx @@ -36,6 +36,9 @@ export default class HttpAuth extends React.Component { let newValue = this.state.value || {} if(name) { newValue[name] = value + if(newValue.set) { + newValue = newValue.set(name, value) + } } else { newValue = value }