mimir-ui-kit 0.0.15 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
@@ -75,7 +75,7 @@ const Input = memo(
|
|
75
75
|
const labelClassNames = classNames(
|
76
76
|
cls.label,
|
77
77
|
{
|
78
|
-
[cls["active-label"]]: isFocused
|
78
|
+
[cls["active-label"]]: isFocused || value
|
79
79
|
},
|
80
80
|
className,
|
81
81
|
cls[size]
|
@@ -95,8 +95,7 @@ const Input = memo(
|
|
95
95
|
className: inputClassNames,
|
96
96
|
onFocus: handleFocus,
|
97
97
|
onBlur: handleBlur,
|
98
|
-
readOnly: readonly
|
99
|
-
value
|
98
|
+
readOnly: readonly
|
100
99
|
}
|
101
100
|
)
|
102
101
|
] });
|