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

Is it possible to expose the callback mechanism for the 'required_message' for forms and modal forms #61

Open
jwag59 opened this issue Jun 17, 2022 · 0 comments

Comments

@jwag59
Copy link

jwag59 commented Jun 17, 2022

Since antd does not appear to support validation for form fields it means the validation has to made after form submission.
However without direct access to the form it is impossible to update the form with a message about failed validation.
If you could expose the call interface to the 'required_message' mechanism (or something similar) we could use this to feedback validation messages to the user.

Currently I'm using Notification to do this but obviously that message appears in the top right of the screen and disappears after a few seconds.

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

No branches or pull requests

1 participant