summaryrefslogtreecommitdiff
path: root/app/client/common
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-26 14:53:38 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-26 14:53:38 +0200
commitb9e1806c97dba043af5b20c78ba2be9bbf47b4d8 (patch)
tree0a3f342c41ef07a09ca26909bf376ff63943e8de /app/client/common
parent79fa74e5fe24e4f22487213c917fab0a38c7ba2a (diff)
list morphs
Diffstat (limited to 'app/client/common')
-rw-r--r--app/client/common/select.component.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/client/common/select.component.js b/app/client/common/select.component.js
index c7fa93c..0a48dce 100644
--- a/app/client/common/select.component.js
+++ b/app/client/common/select.component.js
@@ -50,6 +50,7 @@ class Select extends Component {
onChange={this.handleChange}
value={currentValue || lastValue}
>
+ {this.props.placeholder && <option value=''>{this.props.placeholder}</option>}
{options}
</select>
</label>