Update passwordGenerator disabled

This commit is contained in:
Tilen Komel
2024-08-29 23:19:12 +02:00
parent afc45588fa
commit c4342f1a2b
+2
View File
@@ -64,6 +64,7 @@ const Generator = React.forwardRef<HTMLInputElement, GeneratorProps>(
<Select <Select
value={devicePSKBitCount?.toString()} value={devicePSKBitCount?.toString()}
onValueChange={(e) => selectChange(e)} onValueChange={(e) => selectChange(e)}
disabled={disabled}
> >
<SelectTrigger className="!max-w-max"> <SelectTrigger className="!max-w-max">
<SelectValue /> <SelectValue />
@@ -80,6 +81,7 @@ const Generator = React.forwardRef<HTMLInputElement, GeneratorProps>(
type="button" type="button"
variant="success" variant="success"
onClick={buttonClick} onClick={buttonClick}
disabled={disabled}
{...props} {...props}
> >
{buttonText} {buttonText}