Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🛹 Component: Umsetzung der ComboBox #5846

Closed
deleonio opened this issue Jan 3, 2024 · 1 comment · Fixed by #6354
Closed

🛹 Component: Umsetzung der ComboBox #5846

deleonio opened this issue Jan 3, 2024 · 1 comment · Fixed by #6354
Assignees
Labels
feature New feature or request

Comments

@deleonio
Copy link
Contributor

deleonio commented Jan 3, 2024

User-Story Combobox

Als Benutzer:in möchte ich ein Feld mit Vorschlagswerten ausfüllen, um gängige Werte schneller eingeben zu können. Hierbei kann ich aber auch Werte eingeben, die nicht in der Vorschlagsliste enthalten sind.

image

Konstruktion

<kol-input>
  <span slot="label" />
  <div slot="input">
    <input
      type="text"
      role="combobox"
      aria-autocomplete="both"
      aria-expanded="false"
      aria-controls="listbox"
    />
    <kol-icon
      class="open/closed"
    /> 
  </div>
  <ul
    id="listbox"
    role="listbox"
    aria-label=
  >
    <li
      id=
      role="option" />
  </ul>
</kol-input>

Akzeptanzkriterien

  • Die Auswahl dient als Vorschlagsliste. Ein eingegebener Wert muss nicht zwingend in der Vorschlagsliste enthalten sein.
  • Nur bei direkter Eingabe in das Textfeld, wird die Vorschlagsliste gefiltert.
  • Bei Öffnen der Vorschlagsliste (ungeachtet eines eingegebenen Wertes) wird die Liste ungefiltert dargestellt.
  • Der Schalter wird nicht als Button, sondern als KolIcon umgesetzt.
  • Wenn kein Treffer bei Filtern in der Vorschlagsliste enthalten ist, dann soll die Vorschlagsliste nicht angezeigt werden.
  • Keyboard: https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/#kbd_label

Hinweise

  • Später soll es auch möglich werden, dass die Optionen asynchron nachgeladen werden (z. B. Nachladen von Straßennamen).
  • Beim CSS bitte BEM als neue Konvention pilotieren.

Links

@deleonio deleonio added the feature New feature or request label Jan 3, 2024
@agnieszkaw61
Copy link

@deleonio deleonio added this to the New components '24 milestone Jan 5, 2024
anicyne added a commit that referenced this issue Apr 24, 2024
@anicyne anicyne linked a pull request Apr 24, 2024 that will close this issue
anicyne added a commit that referenced this issue Apr 30, 2024
anicyne added a commit that referenced this issue May 6, 2024
anicyne added a commit that referenced this issue May 6, 2024
anicyne added a commit that referenced this issue May 6, 2024
anicyne added a commit that referenced this issue May 6, 2024
deleonio added a commit that referenced this issue May 8, 2024
deleonio added a commit that referenced this issue May 8, 2024
anicyne added a commit that referenced this issue May 8, 2024
deleonio added a commit that referenced this issue May 16, 2024
anicyne added a commit that referenced this issue May 16, 2024
anicyne added a commit that referenced this issue May 21, 2024
anicyne added a commit that referenced this issue May 21, 2024
anicyne added a commit that referenced this issue May 22, 2024
anicyne added a commit that referenced this issue May 22, 2024
anicyne added a commit that referenced this issue May 22, 2024
deleonio added a commit that referenced this issue May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

3 participants