Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hasFeedback prop in ant design Form displays success on email when validatedTrigger is onBlur #18211

Closed
Nilanth opened this issue Aug 11, 2019 · 5 comments
Assignees
Labels
🐛 Bug Ant Design Team had proved that this is a bug. Inactive

Comments

@Nilanth
Copy link

Nilanth commented Aug 11, 2019

Screenshot 2019-08-11 at 8 17 24 PM
[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Make a input field with hasFeedback, rule type email and validateTrigger is onBlur email then start typing it shows success icon

What is expected?

When validateTriiger is onBlur the success and error feedback icon to showed in On blur

What is actually happening?

The Success feed back is shown on change while the validate trigger is in onblur

Environment Info
antd 3.21.4
React react
System windows,mac
Browser chrome, safari, firefox, edge
@zombieJ
Copy link
Member

zombieJ commented Aug 12, 2019

When set trigger as onBlur, field is no error at first time and hasFeedback display green. Seems logic should adjust.

@zombieJ zombieJ added the 🐛 Bug Ant Design Team had proved that this is a bug. label Aug 12, 2019
@Nilanth
Copy link
Author

Nilanth commented Aug 21, 2019

When set trigger as onBlur, field is no error at first time and hasFeedback display green. Seems logic should adjust.

Is this bug fixed @zombieJ

@afc163
Copy link
Member

afc163 commented Dec 16, 2020

@afc163 afc163 closed this as completed Dec 16, 2020
@Oscopoldo
Copy link

https://codesandbox.io/s/hasfeedback-issue-forked-xp28k?file=/index.js

4.x had fixed this issue.

it also doesn't work in the snippet

@chiragshahklc
Copy link

I still face this issue with current latest version: 4.23.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Ant Design Team had proved that this is a bug. Inactive
Projects
None yet
Development

No branches or pull requests

7 participants