File tree 1 file changed +1
-3
lines changed
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ class Select extends Component {
44
44
{ 'stx-select--is-disabled' : disabled } ,
45
45
{ 'stx-select--is-read-only' : readOnly } ,
46
46
{ 'stx-select--is-loading' : loading } ,
47
- { 'stx-select--has-focus' : hasFocus } ,
47
+ { 'stx-select--has-focus' : this . state . hasFocus } ,
48
48
{ 'stx-select--has-value' : hasValue } ,
49
49
{ 'stx-select--with-placeholder' : placeholder } ,
50
50
{ 'stx-select--alert' : messageType === 'alert' || messageType === 'error' } ,
@@ -167,8 +167,6 @@ Select.propTypes = {
167
167
/** The value for the option that is used as a placeholder */
168
168
placeholderValue : PropTypes . string ,
169
169
170
- /** If the component has focus */
171
- hasFocus : PropTypes . bool ,
172
170
/** If the component has a value */
173
171
hasValue : PropTypes . bool ,
174
172
You can’t perform that action at this time.
0 commit comments