When this returns a string, submission stays open and shows that error.
final String? Function(String value)? validator;