Skip to content

Duplicate or Empty Tags Allowed Without Showing Inline Validation Message #518

@mulikruchi07

Description

@mulikruchi07

Describe your issue

When adding tags to a task while editing a task, users can submit:

  • an empty tag, or
  • a duplicate tag
    and the dialog closes or accepts the input, instead of showing an inline validation error message just below the input field.

Steps to reproduce

  1. Open Edit Task → Tags.
  2. Tap the + (Add Tag) button.
  3. In the Add Tag dialog:
  • Leave the input empty OR
  • Enter a tag that already exists in the current tag list.
  1. Tap Submit.
  2. The dialog closes or does nothing — no inline error message is shown.

What was the expected result?

The Add Tag dialog should:
Stay open, and
Show an inline message under the input:

  • For empty input: "Please enter a tag"
  • For duplicate input: "Tag already exists"

Only valid tags (non-empty, non-duplicate, no spaces) should close the dialog and be added.

Put here any screenshots or videos (optional)

before.517.mp4

How can we contact you (optional)

No response

Would you like to work on this issue?

Yes

By submitting this issue, I have confirmed that:

  • I have starred the repo ⭐ and watched 👀 it on GitHub and followed the contribution guidelines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions