validator property
Provides a DropDownModel object if selected, and null if not
Should return null when no validation error is present,
and a String if there is an error
Implementation
final String? Function(DropDownModel<T>?)? validator;
Provides a DropDownModel object if selected, and null if not
Should return null when no validation error is present,
and a String if there is an error
final String? Function(DropDownModel<T>?)? validator;