Deleting a Filter also always deletes first filter

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • 2.3.0-alpha1, 2.3.0
    • Affects Version/s: None
    • Component/s: frontend
    • None

      Reproduce:

      • Have multiple filters in a Report edit view
      • Click on the X button of the last filter entry

      Expected:

      • Only the last filter entry is deleted

      Observed:

      • The last and the first filter entry are deleted

      Hint:
      This is likely caused by having the filter list inside of a label element. This causes any click element also triggering a click on the first input element in the label (which happens to be the delete button of the first filter element). Since we don't actually show the label, we should just not use labeled for the Filter list

            Assignee:
            Unassigned
            Reporter:
            Sebastian Stamm
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: