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
Currently
When user enters incorrect number, he gets an error for value but no error for comment. Once the value error is fixed user submits the form and now gets error on comment. Which looks strange as on the previous submit there were no errors for comment.
How it should be
In this use case we need to present all errors at once, including type and validation errors.
Currently don't know any work around for it. And would be nice to have such feature by default.
Thoughts?
The text was updated successfully, but these errors were encountered:
See #354, #300, and #223. This is the expected behavior:
When you run this interaction, two things will happen. First ActiveInteraction will type check your inputs. Then ActiveModel will validate them. If both of those are happy, it will be executed.
Not a big issue, but could be annoying
For example let's assume we have a active_interaction object used as a form object.
Currently
When user enters incorrect number, he gets an error for
value
but no error forcomment
. Once thevalue
error is fixed user submits the form and now gets error oncomment
. Which looks strange as on the previous submit there were no errors forcomment
.How it should be
In this use case we need to present all errors at once, including type and validation errors.
Currently don't know any work around for it. And would be nice to have such feature by default.
Thoughts?
The text was updated successfully, but these errors were encountered: