diff options
Diffstat (limited to 'src/components/ui/Input.js')
-rw-r--r-- | src/components/ui/Input.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/ui/Input.js b/src/components/ui/Input.js index 0bb9f23bf..7bf6e1b00 100644 --- a/src/components/ui/Input.js +++ b/src/components/ui/Input.js | |||
@@ -6,8 +6,7 @@ import classnames from 'classnames'; | |||
6 | 6 | ||
7 | import { scorePassword as scorePasswordFunc } from '../../helpers/password-helpers'; | 7 | import { scorePassword as scorePasswordFunc } from '../../helpers/password-helpers'; |
8 | 8 | ||
9 | @observer | 9 | export default @observer class Input extends Component { |
10 | export default class Input extends Component { | ||
11 | static propTypes = { | 10 | static propTypes = { |
12 | field: PropTypes.instanceOf(Field).isRequired, | 11 | field: PropTypes.instanceOf(Field).isRequired, |
13 | className: PropTypes.string, | 12 | className: PropTypes.string, |
@@ -97,6 +96,7 @@ export default class Input extends Component { | |||
97 | onBlur={field.onBlur} | 96 | onBlur={field.onBlur} |
98 | onFocus={field.onFocus} | 97 | onFocus={field.onFocus} |
99 | ref={(element) => { this.inputElement = element; }} | 98 | ref={(element) => { this.inputElement = element; }} |
99 | disabled={field.disabled} | ||
100 | /> | 100 | /> |
101 | {suffix && ( | 101 | {suffix && ( |
102 | <span className="franz-form__input-suffix">{suffix}</span> | 102 | <span className="franz-form__input-suffix">{suffix}</span> |