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

props or state change Input Component placeholder able change but rule text unable change #28368

Open
1 task
liganggang opened this issue Dec 15, 2020 · 5 comments
Labels

Comments

@liganggang
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

1, Click to link https://codesandbox.io/s/antd-reproduction-template-forked-pyvl8?file=/index.js
2, onclick submit view frist input placeholder and rule (input epmty!!)
3, onclik change state button
4, now input placeholder change, but rule not!!

What is expected?

state props change input rule warning change

What is actually happening?

state props change input rule warning not change

Environment Info
antd 4.7.0
React 16.13,1
System win
Browser chrome
@liganggang
Copy link
Author

does anyone check this question

1 similar comment
@liganggang
Copy link
Author

does anyone check this question

@yoyo837
Copy link
Contributor

yoyo837 commented Jan 15, 2021

Error messag is not responsive and needs to re-trigger verification.

@liganggang
Copy link
Author

liganggang commented Jan 15, 2021 via email

@liganggang
Copy link
Author

liganggang commented Jan 15, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants