我正在使用 BootstrapValidator 来验证我的电子邮件输入框。它工作得很好,但是我想阻止某个电子邮件域“@test.com”被验证,我该怎么做?
这是代码:
email: {
message: 'Your email must be in the format "example@domain.com"',
validators: {
notEmpty: {
message: 'Your email is required and cannot be empty'
},
emailAddress: {
message: 'The value is not a valid email address'
}
}
},