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

Should it be required to set the "errors" property to be able to use this component? #164

Open
notmessenger opened this issue Sep 9, 2016 · 0 comments

Comments

@notmessenger
Copy link
Member

Presently if you do not set this property you will get an error (not from a guard clause). It seems reasonable that a "simple, down-and-dirty" form experience is desirable in some instances and error management is not anything needed. Do we then add logic to all of the form components that interact with the error object to not do so if it's not set or do we direct developers who do not wish to leverage the error features to simply provide an empty object to the property?

The former provides a cleaner API to the user and is "nicer", the latter is easier on us, less moving parts, etc.

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

No branches or pull requests

1 participant