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