function validatePasswordDigit(value: string, _allValues: SignupFormValues, props: SignupFormProps) {
    const numDigit = value.length - value.replace(/[0-9]/g, '').length;
    if (numDigit < props.minimumDigitPassword) {
        return props.minimumDigitErrorLabel;
    }