Replies: 4 comments 3 replies
-
There should be more description about Motivation and Alternatives |
Beta Was this translation helpful? Give feedback.
-
@afc163 If it's not enough, please tell me again |
Beta Was this translation helpful? Give feedback.
-
Seems it could be enhanced on the ProComponents. The antd side provided the Form.ErrorList component. So it can be realized with HOC to pass the validation info to the Form.ErrorList |
Beta Was this translation helpful? Give feedback.
-
Oh, I see. Then, can I contribute at pro-components? |
Beta Was this translation helpful? Give feedback.
-
Motivation
I want to use help props as guide message for the input. (always visible)
so i use help props, I cant't see the validate error when after validation.
i want to use help and validate together.
So I added a render type that passes errors to params.
As-is
code
before validate
after validate
After validation, help is displayed instead of the required error message.
To-be
code
before validate
after validate
After validation, I want to show an error message.
API
Basic Example
PR
#47753
Issue
#47994
Beta Was this translation helpful? Give feedback.
All reactions