mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-12 19:26:19 +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:
parent
6e02d1da97
commit
7283c07b76
3 changed files with 8 additions and 3 deletions
|
|
@ -1,3 +1,8 @@
|
|||
### 0.21.1 - November 2025
|
||||
---
|
||||
|
||||
- Fixed app freeze bug after form submission
|
||||
|
||||
### 0.21.0 - November 2025
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
name: inventree
|
||||
description: InvenTree stock management
|
||||
|
||||
version: 0.21.0+106
|
||||
version: 0.21.1+107
|
||||
|
||||
environment:
|
||||
sdk: ^3.8.1
|
||||
|
|
@ -40,7 +40,7 @@ dependencies:
|
|||
path: ^1.9.0
|
||||
path_provider: ^2.1.5 # Local file storage
|
||||
sembast: ^3.6.0 # NoSQL data storage
|
||||
sentry_flutter: 8.14.2 # Error reporting
|
||||
sentry_flutter: 8.14.2 # Error reporting
|
||||
url_launcher: ^6.3.1 # Open link in system browser
|
||||
wakelock_plus: ^1.3.2 # Prevent device from sleeping
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue