compatible icon indicating copy to clipboard operation
compatible copied to clipboard

@ant-design/compatible 的 Form 中,使用 4.x 版本的 Select ,validateTrigger: 'onBlur' 时 ,表现错误

Open hanyihan opened this issue 2 years ago • 2 comments

Reproduction link

Edit on CodeSandbox

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

hanyihan avatar Apr 07 '22 11:04 hanyihan

Should be something like:

.has-error .ant-select-selector {
  border-color: #ff4d4f !important;
}

.has-error .ant-select-selector:hover {
  border-color: #ff4d4f !important;
}

ALEUT avatar Apr 19 '22 18:04 ALEUT

+1

shenjo avatar May 26 '22 06:05 shenjo