mirror of
https://github.com/inventree/inventree-app.git
synced 2025-12-03 18:59:50 +00:00
Form success fix (#733)
* Fix order of operations on form success - Pop widget before running callback * Update release notes
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user