Skip to content

Commit

Permalink
Merge pull request #1131 from patrykkopycinski/select-error-text
Browse files Browse the repository at this point in the history
[SelectField] Add support for errorText for SelectField
  • Loading branch information
hai-cea committed Jul 12, 2015
2 parents 1563961 + 5e28549 commit 51cb691
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 @@ -112,6 +113,7 @@ let SelectField = React.createClass({
floatingLabelText: floatingLabelText,
hintText: (!hintText && !floatingLabelText) ? ' ' : hintText,
fullWidth: fullWidth,
errorText: errorText,
};
let dropDownMenuProps = {
onChange: this.onChange,
Expand Down

0 comments on commit 51cb691

Please sign in to comment.