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 12, 2015
1 parent b104a51 commit 5e28549
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 5e28549

Please sign in to comment.