From 0b2f2089eff456cbfdf40edbd46b12dfd3fbd333 Mon Sep 17 00:00:00 2001 From: sgaestel Date: Thu, 2 Feb 2017 17:41:30 +0100 Subject: [PATCH] Updates following review by @JedWatson --- src/Select.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Select.js b/src/Select.js index ee8cda6fd1..a4501cc169 100644 --- a/src/Select.js +++ b/src/Select.js @@ -902,7 +902,7 @@ const Select = React.createClass({ renderClear () { - if (!this.props.clearable || this.props.value == null || this.props.multi && !this.props.value.length || this.props.disabled || this.props.isLoading) return; + if (!this.props.clearable || this.props.value === undefined || this.props.value === null || this.props.multi && !this.props.value.length || this.props.disabled || this.props.isLoading) return; const clear = this.props.clearRenderer(); return (