-
Notifications
You must be signed in to change notification settings - Fork 149
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
FormsySelect required is not showing any error when submit the form #234
Comments
Use the |
Hi, thanks a lot for your great work and for read this. I'm a fraid that i don´t understand. Can you please give me a short sample? |
Instead of
use
|
This show a error:
This is my code:
|
@rojobuffalo can you help me please? :( |
@aebmknrl The error you're seeing is just something we need to patch by deconstructing Before we add that fix though, I want to be sure the |
@rojobuffalo Is not breaking the code, just a warning. The only strange thing that i see is this: This field is mark as required...
This form only will be submited if is valid... but, if i left my FormsySelect without any value, then the form is submited too. Very strange. |
@aebmknrl ok, good to know. It's possible that support for |
Well... i would really like to help you with a PR, but i'm affraid that i will messed up your great code xD |
Hi, i need to show a messge when the user hits the submit button and a value on the FormsySelect are not selected (similar to a text field behavior).
If i use:
validationErrors={{ isDefaultRequiredValue: "Your error message when field is required", }}
The error is displayed, but inmeddiatly when the component is loaded.
Is there a way to do this validation when user hits the submit error?
Thanks a lot
The text was updated successfully, but these errors were encountered: