diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-26 01:55:55 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-26 01:55:55 +0200 |
| commit | e055ca78a53e0f0b8f4b3a351717a8987d6706eb (patch) | |
| tree | 1ede1f61d5ba76cfea0da208e4eaac585f76d9ea /app/client/common/select.component.js | |
| parent | 8d06839056967e8786c63976545aff098ae2f128 (diff) | |
params should pass thru..
Diffstat (limited to 'app/client/common/select.component.js')
| -rw-r--r-- | app/client/common/select.component.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/client/common/select.component.js b/app/client/common/select.component.js index d08ae60..c7fa93c 100644 --- a/app/client/common/select.component.js +++ b/app/client/common/select.component.js @@ -13,7 +13,7 @@ class Select extends Component { this.props.onChange && this.props.onChange(this.props.name, new_value) } render() { - const currentValue = this.props.opt[this.props.name] + const currentValue = this.props.live ? this.props.opt[this.props.name] : this.props.value let lastValue const options = (this.props.options || []).map((key,i) => { let name, value |
