From 3ca841545e256fd44ad42bb65f9ce187809354c1 Mon Sep 17 00:00:00 2001 From: Patryk Kopycinski Date: Sun, 12 Jul 2015 09:52:17 +0200 Subject: [PATCH] Move errorText to proper place --- src/select-field.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/select-field.jsx b/src/select-field.jsx index fb30e04d40e778..85abb0100f9ed8 100644 --- a/src/select-field.jsx +++ b/src/select-field.jsx @@ -113,6 +113,7 @@ let SelectField = React.createClass({ floatingLabelText: floatingLabelText, hintText: (!hintText && !floatingLabelText) ? ' ' : hintText, fullWidth: fullWidth, + errorText: errorText, }; let dropDownMenuProps = { onChange: this.onChange, @@ -123,7 +124,6 @@ let SelectField = React.createClass({ iconStyle: this.mergeAndPrefix(styles.icon, iconStyle), underlineStyle: this.mergeAndPrefix(styles.underline), autoWidth: false, - errorText: errorText, }; return (