Description
In apps/web/src/components/editor/dialogs/delete-project-dialog.tsx, the input field is not a controlled component and the delete button does not check if "DELETE" was actually typed.
Current Behavior
Users can click the delete button without typing the confirmation text.
Expected Behavior
Delete button should be disabled until the user types "DELETE" exactly. The input should be a controlled React component with proper validation.
Files
apps/web/src/components/editor/dialogs/delete-project-dialog.tsx:65-70
Description
In
apps/web/src/components/editor/dialogs/delete-project-dialog.tsx, the input field is not a controlled component and the delete button does not check if "DELETE" was actually typed.Current Behavior
Users can click the delete button without typing the confirmation text.
Expected Behavior
Delete button should be disabled until the user types "DELETE" exactly. The input should be a controlled React component with proper validation.
Files
apps/web/src/components/editor/dialogs/delete-project-dialog.tsx:65-70