Skip to content

[BUG] Delete project dialog validation is broken - can delete without typing DELETE #724

Description

@adamghaleb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions