Skip to content

Fix BACKLOG status dropdown mismatch and related tests #1393

@coderabbitai

Description

@coderabbitai

Problem

When a task's current status is BACKLOG, the TaskStatusDropdown component initializes newStatus to BACKLOG, but BACKLOG is excluded from the dropdown options via EXCLUDED_STATUSES. This creates a mismatch where the select element's value doesn't correspond to any available option, resulting in undefined browser behavior.

Tasks

  1. Fix the BACKLOG status handling in TaskStatusDropdown component to ensure the select value always matches an available option
  2. Update related tests to cover BACKLOG status scenarios

References

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions