From 577e2753bd7979badcaf23274bbb7327fa892512 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 26 Jun 2018 15:08:02 +0200 Subject: deploy bundle --- app/client/common/select.component.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/client/common') diff --git a/app/client/common/select.component.js b/app/client/common/select.component.js index 0a48dce..334d95a 100644 --- a/app/client/common/select.component.js +++ b/app/client/common/select.component.js @@ -10,6 +10,7 @@ class Select extends Component { handleChange(e){ clearTimeout(this.timeout) let new_value = e.target.value + if (new_value === 'PLACEHOLDER') return this.props.onChange && this.props.onChange(this.props.name, new_value) } render() { @@ -50,7 +51,7 @@ class Select extends Component { onChange={this.handleChange} value={currentValue || lastValue} > - {this.props.placeholder && } + {this.props.placeholder && } {options} -- cgit v1.2.3-70-g09d2