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

Bug: Input-Counter zeigt Länge eines Default-Wertes nicht initial an #6774

Closed
deleonio opened this issue Sep 4, 2024 · 0 comments · Fixed by #6800
Closed

Bug: Input-Counter zeigt Länge eines Default-Wertes nicht initial an #6774

deleonio opened this issue Sep 4, 2024 · 0 comments · Fixed by #6800
Assignees
Labels
bug Something isn't working desybri The task is assigned to the DESYBRI design system. sample Relates to a sample in the sample-react project.

Comments

@deleonio
Copy link
Contributor

deleonio commented Sep 4, 2024

Als Nutzer eines Formulars,
möchte ich, dass der Input-Counter in jedem Formularfeld sofort die Zeichenanzahl des Default-Wertes korrekt anzeigt,
damit ich von Anfang an sehen kann, wie viele Zeichen bereits im Feld enthalten sind.


Akzeptanzkriterien:

  1. Fehlerbehebung:

    • Der Input-Counter zeigt sofort die korrekte Zeichenlänge des Default-Wertes an, wenn ein Formularfeld (textarea, inputs) geladen wird.
    • Es wird sichergestellt, dass der Fehler, bei dem die Zeichenlänge eines Default-Wertes nicht initial angezeigt wird, behoben wird.
  2. Initiale Anzeige:

    • Wenn ein Formularfeld mit einem Default-Wert vorausgefüllt ist, wird die Zeichenanzahl beim ersten Laden des Formulars korrekt im Input-Counter angezeigt.
    • Der Input-Counter bleibt synchron, wenn der Default-Wert nachträglich geändert wird.
  3. Sample

    • Textarea-Sample um weitere Textarea erweitern, die ein Initialwert gesetzt hat (z. B. lorem ipsum)
    • Bei Input-Samples einen Initialwert setzen, wenn der Counter aktiv ist.
  4. Automatisierte Tests:

    • Tests werden implementiert, um sicherzustellen, dass der Input-Counter bei Formularfeldern die Zeichenanzahl korrekt anzeigt, sowohl initial als auch nach jeder Benutzerinteraktion.
    • Spezifische Testfälle decken ab, dass bei Default-Werten die Zeichenlänge beim Laden des Formulars sofort korrekt dargestellt wird.
    • Mit E2E Test auf den korrekten Wert testen
  5. UI-Validierung:

    • Visuelle Überprüfungen stellen sicher, dass die Zeichenanzahl des Default-Wertes in der Benutzeroberfläche korrekt dargestellt wird.

Stakeholder: @Chrisdo82, @gretaneumannn

@github-project-automation github-project-automation bot moved this to Backlog in KoliBri Board Sep 4, 2024
@deleonio deleonio changed the title Counter itput field prüfen initial steht 0 Bug: Input-Counter zeigt Länge eines Default-Wertes nicht initial an Sep 6, 2024
@deleonio deleonio added bug Something isn't working desybri The task is assigned to the DESYBRI design system. labels Sep 6, 2024
@laske185 laske185 added the sample Relates to a sample in the sample-react project. label Sep 6, 2024
@laske185 laske185 moved this from Backlog to 📄 Ready in KoliBri Board Sep 6, 2024
@sdvg sdvg self-assigned this Sep 9, 2024
@sdvg sdvg moved this from 📄 Ready to 🏗 In progress in KoliBri Board Sep 9, 2024
sdvg added a commit that referenced this issue Sep 9, 2024
@sdvg sdvg linked a pull request Sep 9, 2024 that will close this issue
publicuibot bot pushed a commit that referenced this issue Sep 9, 2024
@sdvg sdvg moved this from 🏗 In progress to 🔍 Review in KoliBri Board Sep 9, 2024
@github-project-automation github-project-automation bot moved this from 🔍 Review to ✅ Done in KoliBri Board Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working desybri The task is assigned to the DESYBRI design system. sample Relates to a sample in the sample-react project.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants