mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
Bugfix: multiple strategies with list-inputs should work.
This commit is contained in:
parent
8ef9def08c
commit
cb79089c61
@ -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
|
||||
|
@ -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"
|
||||
/>
|
||||
<IconButton
|
||||
name="add"
|
||||
|
Loading…
Reference in New Issue
Block a user