• Validator that requires the control value to be a valid date (without time).

    Parameters

    • c: AbstractControl

    Returns ValidationErrors | null

    An error object with the dateOnly property if the validation check fails, otherwise null.