diff --git a/lib/main.dart b/lib/main.dart index c16ea0b..43e6da1 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -722,7 +722,9 @@ class AddTransactionDialogState extends State { color: Colors.black54, ), ), - content: Column( + content: Form( + key: _formKey, // Hier wird das _formKey dem Form-Widget zugewiesen + child: Column( mainAxisSize: MainAxisSize.min, children: [ Neumorphic( @@ -801,7 +803,7 @@ class AddTransactionDialogState extends State { ], ), ], - ), + )), actions: [ NeumorphicButton( onPressed: () {