diff --git a/packages/ui/v2/core/form/fields.tsx b/packages/ui/v2/core/form/fields.tsx index 0c2d9c6914..dc8fb3d8b7 100644 --- a/packages/ui/v2/core/form/fields.tsx +++ b/packages/ui/v2/core/form/fields.tsx @@ -202,12 +202,12 @@ const InputField = forwardRef(function InputF {addOnLeading || addOnSuffix ? (
(funct props, ref ) { - /*const { t } = useLocale(); + const { t } = useLocale(); const [isPasswordVisible, setIsPasswordVisible] = useState(false); const toggleIsPasswordVisible = useCallback( () => setIsPasswordVisible(!isPasswordVisible), [isPasswordVisible, setIsPasswordVisible] ); const textLabel = isPasswordVisible ? t("hide_password") : t("show_password"); -*/ + return ( -
+
+ + + } /> - - {/* - - */}
); });