Validator that requires controls to have a non-empty value.
Source
static Map<String, bool> required(model_module.AbstractControl control) { return control.value == null || control.value == '' ? {"required": true} : null; }
Validator that requires controls to have a non-empty value.
static Map<String, bool> required(model_module.AbstractControl control) { return control.value == null || control.value == '' ? {"required": true} : null; }