summaryrefslogtreecommitdiffstats
path: root/src/components/ui/input
diff options
context:
space:
mode:
authorLibravatar muhamedsalih-tw <104364298+muhamedsalih-tw@users.noreply.github.com>2022-10-28 07:37:55 +0530
committerLibravatar GitHub <noreply@github.com>2022-10-28 02:07:55 +0000
commitd95573393206bc3931202d363bfb6c54974e0203 (patch)
treebd1428342f8d6124f747612a3711546a972108eb /src/components/ui/input
parent6.2.1-nightly.31 [skip ci] (diff)
downloadferdium-app-d95573393206bc3931202d363bfb6c54974e0203.tar.gz
ferdium-app-d95573393206bc3931202d363bfb6c54974e0203.tar.zst
ferdium-app-d95573393206bc3931202d363bfb6c54974e0203.zip
Transform welcome component tree to TS (#715)v6.2.1-nightly.31
Diffstat (limited to 'src/components/ui/input')
-rw-r--r--src/components/ui/input/index.tsx2
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 && (