Skip to content

Clear labels should remove checkmarks in popup #22222

Closed
@michewl

Description

@michewl

Description

On the "New issue" or "New Pull Request" page in the "Labels" popup, the "Clear labels" function does not remove the checkmarks in the label list.

This can easily be reproduced:

  1. Go to the "New Issue" page
  2. Open the "Labels" popup
  3. Add one or more labels (checkmark appears)
  4. [Optionally close the labels popup to "commit" the selection and reopen]
  5. Click "Clear labels" (the popup closes)
  6. Open the "Labels" popup again
  7. Find the checkmarks still present

The expected behavior would be, that the checkmarks also get removed when "Clear labels" is clicked.

Screenshots

bug-gitea-labels_2022-12-22 20-21

Gitea Version

1.19.0+dev-223-gea5a752ee

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

Pop!_OS 22.04 LTS 6.0.6-76060006-generic

Browser Version

Firefox 108.0 (64-bit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UItype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions