pub type FormFieldValidator<T> = Rc<dyn Fn(&mut App, Option<&T>) -> Option<String>>;Expand description
Signature for validating a form field.
Returns an error string to display if the input is invalid, or None otherwise.
Used by FormFieldData::validator.
Aliased Typeยง
pub struct FormFieldValidator<T> { /* private fields */ }