Skip to content

Commit

Permalink
Merge pull request #2710 from kodermax/feature/add-hintStyle
Browse files Browse the repository at this point in the history
Add hintStyle for SelectField
  • Loading branch information
alitaheri committed Dec 30, 2015
2 parents 2905a15 + d81b722 commit 20fa9aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/select-field.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const SelectField = React.createClass({
floatingLabelStyle: React.PropTypes.object,
floatingLabelText: React.PropTypes.node,
fullWidth: React.PropTypes.bool,
hintStyle: React.PropTypes.object,
hintText: React.PropTypes.node,
iconStyle: React.PropTypes.object,
labelMember: React.PropTypes.string, //DEPRECATE
Expand Down Expand Up @@ -121,6 +122,7 @@ const SelectField = React.createClass({
disabled,
floatingLabelText,
floatingLabelStyle,
hintStyle,
hintText,
fullWidth,
errorText,
Expand All @@ -136,6 +138,7 @@ const SelectField = React.createClass({
style={style}
floatingLabelText={floatingLabelText}
floatingLabelStyle={floatingLabelStyle}
hintStyle={hintStyle}
hintText={(!hintText && !floatingLabelText) ? ' ' : hintText}
fullWidth={fullWidth}
errorText={errorText}
Expand Down

0 comments on commit 20fa9aa

Please sign in to comment.