Skip to content

Commit

Permalink
Move errorText to proper place
Browse files Browse the repository at this point in the history
  • Loading branch information
patrykkopycinski committed Jul 12, 2015
1 parent 5a852e6 commit 3ca8415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/select-field.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ let SelectField = React.createClass({
floatingLabelText: floatingLabelText,
hintText: (!hintText && !floatingLabelText) ? ' ' : hintText,
fullWidth: fullWidth,
errorText: errorText,
};
let dropDownMenuProps = {
onChange: this.onChange,
Expand All @@ -123,7 +124,6 @@ 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 3ca8415

Please sign in to comment.