[0.1.2]
This commit is contained in:
@@ -111,6 +111,17 @@ class AstromicFormController extends FormController {
|
||||
return ret;
|
||||
}
|
||||
|
||||
@override
|
||||
void removeController(String id) {
|
||||
super.removeController(id);
|
||||
if (fieldStates.containsKey(id)) {
|
||||
fieldStates.remove(id);
|
||||
}
|
||||
if (fieldMessages.containsKey(id)) {
|
||||
fieldMessages.remove(id);
|
||||
}
|
||||
}
|
||||
|
||||
//SECTION - Helper Methods
|
||||
void _addInitialControllers(Map<String, (String, bool)>? initialValues) {
|
||||
if (initialValues != null) {
|
||||
|
||||
Reference in New Issue
Block a user