Skip to content

[Bug] Airport fields render a second, empty label containing only a required asterisk #239

Description

@Abrechen2

Found during a fresh-install walkthrough of 2.5.0-rc.5.

What happens

In the flight form, the Von and Nach airport fields each render two labels: the real one, and an empty one holding nothing but a red asterisk.

<label>Von *</label>
<label> <span class="text-red-500">*</span></label>
<label>Nach *</label>
<label> <span class="text-red-500">*</span></label>

Visually the asterisk appears twice — once after the word, once alone on the line below. Other fields in the same form are correct (<label>Abflugdatum *</label>, one label, one asterisk).

Why it matters

Beyond looking unfinished on the most-used form in the product, a <label> whose entire content is "*" is announced by a screen reader as a label consisting of an asterisk, attached to a field that already has a proper one.

Steps to reproduce

  1. + Hinzufügen → Flug → Suche überspringen und manuell eingeben
  2. Inspect the Von / Nach labels, or just look at them — the stray asterisk sits on its own line.

Version

2.5.0-rc.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions