diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 18:36:36 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 18:36:36 +0200 |
| commit | 71f3bffcd69b5aad4319b1362cf35c8efd51bc10 (patch) | |
| tree | 2375dbed44d09f37f057354935ea9043b44028f3 /app/client/common/select.component.js | |
| parent | 4bc41e2c2a8b3fc8b22226a7f3ec6cc1e1a275b6 (diff) | |
wooooord
Diffstat (limited to 'app/client/common/select.component.js')
| -rw-r--r-- | app/client/common/select.component.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/client/common/select.component.js b/app/client/common/select.component.js index 3b008a3..cfe4ebf 100644 --- a/app/client/common/select.component.js +++ b/app/client/common/select.component.js @@ -12,6 +12,7 @@ class Select extends Component { clearTimeout(this.timeout) let new_value = e.target.value this.props.actions.set_param(this.props.name, new_value) + this.props.onChange && this.props.onChange(new_value) } render() { const value = this.props.opt[this.props.name] |
