WIP
This commit is contained in:
parent
3dc941ba4c
commit
ac26e0ddac
|
@ -270,13 +270,28 @@ class PetsPageModel extends FlutterFlowModel<PetsPageWidget> {
|
||||||
|
|
||||||
void clearFields() {
|
void clearFields() {
|
||||||
uploadedLocalFile = null;
|
uploadedLocalFile = null;
|
||||||
textControllerName.text = '';
|
textControllerName!.clear();
|
||||||
textControllerSpecies.text = '';
|
textControllerName!.clearComposing();
|
||||||
textControllerRace.text = '';
|
|
||||||
textControllerColor.text = '';
|
textControllerSpecies!.clear();
|
||||||
textControllerData.text = '';
|
textControllerSpecies!.clearComposing();
|
||||||
textControllerObservation.text = '';
|
|
||||||
dropDownValueController1 = FormFieldController<String>('');
|
textControllerRace!.clear();
|
||||||
dropDownValueController2 = FormFieldController<String>('');
|
textControllerRace!.clearComposing();
|
||||||
|
|
||||||
|
textControllerColor!.clear();
|
||||||
|
textControllerColor!.clearComposing();
|
||||||
|
|
||||||
|
textControllerData!.clear();
|
||||||
|
textControllerData!.clearComposing();
|
||||||
|
|
||||||
|
textControllerObservation!.clear();
|
||||||
|
textControllerObservation!.clearComposing();
|
||||||
|
|
||||||
|
dropDownValue1 = null;
|
||||||
|
dropDownValue2 = null;
|
||||||
|
|
||||||
|
dropDownValueController1 = FormFieldController<String>(null);
|
||||||
|
dropDownValueController2 = FormFieldController<String>(null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue