diff options
Diffstat (limited to 'src/components/ui/input')
-rw-r--r-- | src/components/ui/input/index.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/ui/input/index.tsx b/src/components/ui/input/index.tsx index b19bb4bc9..3bafc93e7 100644 --- a/src/components/ui/input/index.tsx +++ b/src/components/ui/input/index.tsx | |||
@@ -106,6 +106,7 @@ class InputComponent extends Component<IProps, IState> { | |||
106 | showPasswordToggle = false, | 106 | showPasswordToggle = false, |
107 | type = 'text', | 107 | type = 'text', |
108 | disabled = false, | 108 | disabled = false, |
109 | readOnly, | ||
109 | } = this.props; | 110 | } = this.props; |
110 | 111 | ||
111 | const { showPassword, passwordScore } = this.state; | 112 | const { showPassword, passwordScore } = this.state; |
@@ -152,6 +153,7 @@ class InputComponent extends Component<IProps, IState> { | |||
152 | min={min} | 153 | min={min} |
153 | max={max} | 154 | max={max} |
154 | step={step} | 155 | step={step} |
156 | readOnly={readOnly} | ||
155 | /> | 157 | /> |
156 | {suffix && <span className={classes.suffix}>{suffix}</span>} | 158 | {suffix && <span className={classes.suffix}>{suffix}</span>} |
157 | {showPasswordToggle && ( | 159 | {showPasswordToggle && ( |