assign 'id' to input and 'htmlFor' attribute to label

This commit is contained in:
Delta6626 2026-05-02 13:11:17 +04:00
parent 7c48a21fac
commit ac9216d0d1
1 changed files with 2 additions and 1 deletions

View File

@ -64,10 +64,11 @@ export function DeleteProjectDialog({
</AlertDescription>
</Alert>
<div className="flex flex-col gap-3">
<Label className="text-xs font-semibold text-slate-500">
<Label htmlFor="confirmation-input" className="text-xs font-semibold text-slate-500">
{`Type "${REQUIRED_CONFIRMATION_TEXT}" to confirm`}
</Label>
<Input
id={"confirmation-input"}
onChange={(e) => {setConfirmationInput(e.target.value)}}
value={confirmationInput}
type="text"