Open ssatz opened 5 years ago
Try this, or add more validations for example min lenght or something else
submit() {
if (email.length == 0) {
_emailController.sink.addError('This field cannot be empty');
}
if (pass.length == 0) {
_passController.sink.addError('This field cannot be empty');
}
}
How to show validation on submit?