You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have utilized the Form and Error classes in Vue for a few years. They have been great assets to OOP my forms for ease of use and cleanliness of code. Thanks for building these simple classes.
I am doing a new project with React for the sake of trying to use and learn it. I am trying to use the same Form and Error classes. Most of it works except the error calls. When i add has() class in, it executes on load, but not once the errors are added when the form submits. I am doing this in the render function: {this.state.form.errors.has('first_name') && this.state.form.errors.get('first_name')}
Any idea what is happening? It seems to not recheck the function.
Thanks!
The text was updated successfully, but these errors were encountered:
Hey @JeffreyWay
I have utilized the Form and Error classes in Vue for a few years. They have been great assets to OOP my forms for ease of use and cleanliness of code. Thanks for building these simple classes.
I am doing a new project with React for the sake of trying to use and learn it. I am trying to use the same Form and Error classes. Most of it works except the error calls. When i add
has()
class in, it executes on load, but not once the errors are added when the form submits. I am doing this in the render function:{this.state.form.errors.has('first_name') && this.state.form.errors.get('first_name')}
Any idea what is happening? It seems to not recheck the function.
Thanks!
The text was updated successfully, but these errors were encountered: