Skip to content

Commit

Permalink
Updates following review by @JedWatson
Browse files Browse the repository at this point in the history
  • Loading branch information
sgaestel committed Feb 2, 2017
1 parent 98e11d0 commit 0b2f208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 0b2f208

Please sign in to comment.