reset method
reset field
- clear validation
- set value to initialValue
Implementation
@mustCallSuper
void reset() {
setState(() {
_validateGen++;
_latestSuccessfulValidationValue = null;
_hasInteractedByUser = false;
_status = _status._copyWith(
validation: FormeOptional(_initialValidation),
value: FormeOptional(initialValue));
});
_fieldChange();
}