diff --git a/frontend/CHANGELOG.md b/frontend/CHANGELOG.md index 6088f5b233..04901f414f 100644 --- a/frontend/CHANGELOG.md +++ b/frontend/CHANGELOG.md @@ -7,8 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/). The latest version of this document is always available in [releases][releases-url]. -## [Unreleased] +## [3.0.0-alpha.2] - show sdk version as part of instances details. +- Bugfix: multiple strategies with list-inputs should work. ## [3.0.0-alpha.1] - 2017-06-28 - updated paths to use new admin api paths diff --git a/frontend/src/component/feature/form/strategy-input-list.jsx b/frontend/src/component/feature/form/strategy-input-list.jsx index 6bd01c3c35..6bdb59590a 100644 --- a/frontend/src/component/feature/form/strategy-input-list.jsx +++ b/frontend/src/component/feature/form/strategy-input-list.jsx @@ -34,8 +34,9 @@ export default class InputList extends Component { e.stopPropagation(); } + const { name, list, setConfig } = this.props; - const inputValue = document.querySelector(`[name="${name}_input"]`); + const inputValue = this.refs.input.inputRef; if (inputValue && inputValue.value) { list.push(inputValue.value); inputValue.value = ''; @@ -68,6 +69,7 @@ export default class InputList extends Component { label="Add list entry" onFocus={this.onFocus} onBlur={this.onBlur} + ref="input" />