Skip to content

Commit

Permalink
[SelectField] Add support for errorText for SelectField
Browse files Browse the repository at this point in the history
  • Loading branch information
patrykkopycinski committed Jul 11, 2015
1 parent b104a51 commit 5a852e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/select-field.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ let SelectField = React.createClass({
floatingLabelText,
hintText,
fullWidth,
errorText,
...other,
} = this.props;

Expand All @@ -122,6 +123,7 @@ let SelectField = React.createClass({
iconStyle: this.mergeAndPrefix(styles.icon, iconStyle),
underlineStyle: this.mergeAndPrefix(styles.underline),
autoWidth: false,
errorText: errorText,
};

return (
Expand Down

0 comments on commit 5a852e6

Please sign in to comment.