From 71f3bffcd69b5aad4319b1362cf35c8efd51bc10 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 21 May 2018 18:36:36 +0200 Subject: wooooord --- app/client/common/select.component.js | 1 + 1 file changed, 1 insertion(+) (limited to 'app/client/common') 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] -- cgit v1.2.3-70-g09d2