compatible
compatible copied to clipboard
@ant-design/compatible 的 Form 中,使用 4.x 版本的 Select ,validateTrigger: 'onBlur' 时 ,表现错误
Reproduction link
Steps to reproduce
Select 选择一个值,blur select ;
What is expected?
Select 值存在,无校验错误;
What is actually happening?
Select 值丢失,校验失败,提示错误信息!
Environment | Info |
---|---|
antd | 4.19.2 |
React | ^16.14.0 |
System | mac os |
Browser | chrome 99.x |
Should be something like:
.has-error .ant-select-selector {
border-color: #ff4d4f !important;
}
.has-error .ant-select-selector:hover {
border-color: #ff4d4f !important;
}
+1