Browse Source

Update passwordGenerator disabled

pull/277/head
Tilen Komel 2 years ago
parent
commit
c4342f1a2b
  1. 2
      src/components/UI/Generator.tsx

2
src/components/UI/Generator.tsx

@ -64,6 +64,7 @@ const Generator = React.forwardRef<HTMLInputElement, GeneratorProps>(
<Select
value={devicePSKBitCount?.toString()}
onValueChange={(e) => selectChange(e)}
disabled={disabled}
>
<SelectTrigger className="!max-w-max">
<SelectValue />
@ -80,6 +81,7 @@ const Generator = React.forwardRef<HTMLInputElement, GeneratorProps>(
type="button"
variant="success"
onClick={buttonClick}
disabled={disabled}
{...props}
>
{buttonText}

Loading…
Cancel
Save