Skip to content
This repository has been archived by the owner on Apr 4, 2020. It is now read-only.

Commit

Permalink
Merge pull request #75 from synapsestudios/bugfix/null_input_warning_…
Browse files Browse the repository at this point in the history
…message

Fix for null input value warning messages in react v15
  • Loading branch information
Andrew Verhulst committed Dec 12, 2016
2 parents 3784b43 + 8557111 commit af16f43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "synfrastructure",
"version": "6.0.1",
"version": "6.0.2",
"description": "A collection of highly reusable React components paired with sass utilities and mixins for speedy UI development",
"author": "Synapse Studios",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/select.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ let Select = React.createClass({
const selectedOption = this.props.options.findIndex(option => !! option.selected);

if (selectedOption < 0) {
return null;
return '';
}

return this.props.options[selectedOption].value;
Expand Down

0 comments on commit af16f43

Please sign in to comment.