Form success fix (#733)

* Fix order of operations on form success

- Pop widget before running callback

* Update release notes
This commit is contained in:
Oliver 2025-11-23 09:18:49 +11:00 committed by GitHub
parent 6e02d1da97
commit 7283c07b76
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 3 deletions

View file

@ -1174,8 +1174,8 @@ class APIFormWidgetState extends State<APIFormWidget> {
Map<String, dynamic> submittedData,
Map<String, dynamic> responseData,
) async {
widget.onSuccess?.call(responseData);
Navigator.pop(context);
widget.onSuccess?.call(responseData);
}
List<Widget> _buildForm() {