letter [a-z], 1 capital letter [A-Z], 1 digit[0-9], 1 special character and the length should be between 6-: FormControl) {
/* So the rule for password is
6-letter [a-z], 1 capital letter [A-Z], 1 digit[0-9], 1 special charac
The length should be 6-10 characters.'...} }
} 对于我的一个测试用例,我得到以下错误 TypeError: Cannot read property 'passwordErrorMessage' of undefinedThe length should be 6-10 characters.',则一切正常