From 5bb7585df3a43a13e05f2b5efb0ea90341d34b67 Mon Sep 17 00:00:00 2001 From: Anthony Date: Sun, 29 Dec 2024 20:15:50 +0700 Subject: [PATCH] v6.13.1 --- CHANGELOG.md | 4 ++++ lib/widgets/form/form.dart | 1 + pubspec.yaml | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 895afa1..8c5b57f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [6.13.1] - 2024-12-29 + +* Fix form.dart + ## [6.13.0] - 2024-12-29 * Fix validation max and min rules diff --git a/lib/widgets/form/form.dart b/lib/widgets/form/form.dart index caa9bc9..4b69645 100644 --- a/lib/widgets/form/form.dart +++ b/lib/widgets/form/form.dart @@ -499,6 +499,7 @@ class _NyFormState extends NyState { } if (widget.form.getLoadData is! Future Function() && + widget.form.getLoadData != null && initialFormData == null) { initialFormData = widget.form.getLoadData!(); widget.form.setData(initialFormData, refreshState: false); diff --git a/pubspec.yaml b/pubspec.yaml index 55971a6..517b4f5 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: nylo_support description: Support library for the Nylo framework. This library supports routing, widgets, localization, cli, storage and more. -version: 6.13.0 +version: 6.13.1 homepage: https://nylo.dev repository: https://github.com/nylo-core/support/tree/6.x issue_tracker: https://github.com/nylo-core/support/issues