[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) {
|
||||
|
||||
@@ -165,7 +165,7 @@ packages:
|
||||
description:
|
||||
path: "."
|
||||
ref: master
|
||||
resolved-ref: "3abe6f1eb41244f33973b4c7f5b40200edc08ccf"
|
||||
resolved-ref: ef28b08380a54747c58c585e4326e30bcc468a51
|
||||
url: "https://git.micazi.dev/micazi/form_controller.git"
|
||||
source: git
|
||||
version: "0.8.8+2"
|
||||
|
||||
Reference in New Issue
Block a user