Skip to content

Commit

Permalink
Enable autofocus for 'Stundenzeit auswählen' dialog (#1267)
Browse files Browse the repository at this point in the history
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit


- **New Features**
- Enabled autofocus on the due date text field in the homework dialog to
enhance user interaction.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
nilsreichardt authored Feb 21, 2024
1 parent fa7673f commit 18166a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/lib/homework/homework_dialog/homework_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,7 @@ class _DueDateChipsState extends State<_DueDateChips> {
width: 50,
child: TextField(
key: HwDialogKeys.customLessonChipDialogTextField,
autofocus: true,
maxLength: 2,
textAlign: TextAlign.end,
style: const TextStyle(
Expand Down

0 comments on commit 18166a0

Please sign in to comment.