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
Labels
Comments
does anyone check this question |
1 similar comment
does anyone check this question |
Error messag is not responsive and needs to re-trigger verification. |
3q
…------------------ 原始邮件 ------------------
发件人: "ant-design/ant-design" <notifications@github.com>;
发送时间: 2021年1月15日(星期五) 下午3:58
收件人: "ant-design/ant-design"<ant-design@noreply.github.com>;
抄送: "一把掌扇死你"<1277646555@qq.com>;"Author"<author@noreply.github.com>;
主题: Re: [ant-design/ant-design] props or state change Input Component placeholder able change but rule text unable change (#28368)
error messag is not responsive and needs to re-trigger verification.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
re-trigger verification not reasonable enough hooks will be triggered at the beginning
https://codesandbox.io/s/antd-reproduction-template-forked-nqt42?file=/index.js
…------------------ 原始邮件 ------------------
发件人: "ant-design/ant-design" <notifications@github.com>;
发送时间: 2021年1月15日(星期五) 下午3:58
收件人: "ant-design/ant-design"<ant-design@noreply.github.com>;
抄送: "一把掌扇死你"<1277646555@qq.com>;"Author"<author@noreply.github.com>;
主题: Re: [ant-design/ant-design] props or state change Input Component placeholder able change but rule text unable change (#28368)
error messag is not responsive and needs to re-trigger verification.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproduction link
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
The text was updated successfully, but these errors were encountered: