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