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

Error Empty Message when submit form #348

Open
chienvuhoang opened this issue May 24, 2016 · 5 comments
Open

Error Empty Message when submit form #348

chienvuhoang opened this issue May 24, 2016 · 5 comments

Comments

@chienvuhoang
Copy link

Hi all,
Can i set an empty message error when submit form or clear input. I can't see error message when add "required" to MyInput.
<LaInput validations={{isEmptyString: false}} name="categoryName" validationError="Category Name is required" required/>

Thanks

@chienvuhoang
Copy link
Author

chienvuhoang commented May 25, 2016

@christianalfoni can you tell me. :(

@cdroulers
Copy link

I think it should be validations={{isEmptyString: true}}, otherwise you are disabling the rule.

@cdroulers
Copy link

Could also be related to #338

@chienvuhoang
Copy link
Author

thanks @cdroulers i'll try it. :)

@StevePhuc
Copy link

that work with me
formsy/formsy-react#51

 required
 validationErrors={{
                        "isDefaultRequiredValue":"This field is required!" 
                    }}

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

3 participants