From 5e285497f7320de10f1146ddd07c3e2895ebc986 Mon Sep 17 00:00:00 2001 From: Patryk Kopycinski Date: Sun, 12 Jul 2015 21:06:43 +0200 Subject: [PATCH] [SelectField] Add support for errorText for SelectField --- src/select-field.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/select-field.jsx b/src/select-field.jsx index d4105bbad02153..85abb0100f9ed8 100644 --- a/src/select-field.jsx +++ b/src/select-field.jsx @@ -104,6 +104,7 @@ let SelectField = React.createClass({ floatingLabelText, hintText, fullWidth, + errorText, ...other, } = this.props; @@ -112,6 +113,7 @@ let SelectField = React.createClass({ floatingLabelText: floatingLabelText, hintText: (!hintText && !floatingLabelText) ? ' ' : hintText, fullWidth: fullWidth, + errorText: errorText, }; let dropDownMenuProps = { onChange: this.onChange,