7645 (fix) Forms cannot be submitted with focus on checkbox/radio#8219
Merged
deleonio merged 3 commits intopublic-ui:release/2from Aug 6, 2025
Conversation
4 tasks
deleonio
requested changes
Aug 5, 2025
Contributor
There was a problem hiding this comment.
vielen Dank. Ich glaube, es gibt schon ein Formular, das den Submit für alle Eingabefelder mit Enter abbilden soll.
https://dev.kolibri.itz.in.bund.de/kolibri-demo/v3/#/scenarios/static-form
Bitte immer erst das Review in einer Version abwarten, bevor wir die Umsetzung in einer nächsten Version nachziehen.
Contributor
Author
|
Danke für dein Feedback @deleonio. Oh ja stimmt, es gibt dafür schon die static-form . Ich werde scenario/form-submit wieder entfernen und passe den e2e Test entsprechend an. Alles kar. Ich werde künftig lieber auf die Review warten, bevor ich die nächste Version umsetze 👍 |
…scenario form-submit Refs: public-ui#7645
deleonio
approved these changes
Aug 6, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ref.: #7645
Beschreibung
Dieser PR behebt ein Problem, bei dem ein Formular nicht mit der Enter-Taste abgesendet werden konnte, wenn der Fokus auf einer Checkbox lag. Bei der Radio-Komponente war dieses Problem nicht mehr vorhanden.
Änderungen
Test
E2E-Test mit Playwright (mit und ohne Submit-Button):
→ Checkbox im Fokus → Enter → Formular wird korrekt abgesendet
→ Radio im Fokus → Enter → Formular wird korrekt abgesendet