From 40ca7dd72fc67828e1732bf8b15917cdff9888a6 Mon Sep 17 00:00:00 2001 From: Michael Aziz Date: Mon, 14 Apr 2025 12:04:14 +0200 Subject: [PATCH] [SYNC] --- lib/src/form/src/controller.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/src/form/src/controller.dart b/lib/src/form/src/controller.dart index ee9cf15..a09c1e5 100644 --- a/lib/src/form/src/controller.dart +++ b/lib/src/form/src/controller.dart @@ -103,6 +103,9 @@ class AstromicFormController extends FormController { } } + /// Get all the hosted values IDs. + List get allValuesIDs => List.from(_hostedValues.entries.map((MapEntry entry) => entry.key)); + /// Get the value of a hosted state variable using it's ID. T? getValue(String id) { prepareValue(id, false);