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

Fix for null input value warning messages in react v15 #75

Merged
merged 2 commits into from
Dec 12, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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