Skip to content

Subtask Dropdown Fails to Hide/Reset When Switching to a Task Without Subtasks #239

Description

@parvathyabnair

Release: v1.2.9
Subtask Dropdown Fails to Hide/Reset When Switching to a Task Without Subtasks

When a user selects a task containing subtasks, the subtask dropdown populates correctly. However, if the user subsequently changes the primary task selection to one that does not contain any subtasks, the subtask dropdown remains visible. It becomes trapped in an empty, unresponsive state rather than hiding or disabling gracefully.

Steps to Reproduce

Navigate to the Timesheet entry screen.

Tap the Task dropdown menu.

Select a task that is known to have subtasks (e.g., "Parent Task").

Verify that the Subtask dropdown appears and is fully selectable.

Tap the Task dropdown again to change the selection.

Select a different task that does not have any attached subtasks (e.g., "New task 2 06/04/2026").

Tap on the Subtask dropdown to interact with it.

Actual Behavior
The Subtask dropdown remains fully visible on the screen. When tapped, it only displays a highlighted empty "Select" row with no options. The user cannot reset it to a normal state, resulting in a confusing UI experience.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions