Added a built-in password generator to the shared input

This commit is contained in:
mhbdev
2026-01-06 16:26:42 +03:30
parent 068deecb61
commit fe5efd7651
7 changed files with 132 additions and 16 deletions

View File

@@ -10,7 +10,12 @@ export const ToggleVisibilityInput = ({ ...props }: InputProps) => {
return (
<div className="flex w-full items-center space-x-2">
<Input ref={inputRef} type={"password"} {...props} />
<Input
ref={inputRef}
{...props}
type="password"
enablePasswordGenerator={false}
/>
<Button
variant={"secondary"}
onClick={() => {