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
then the model becomes invalid, the sameinvalid function (whichever was last registered) will be called 3 times, but the correct view will be passed to it as the first parameter.
It really makes it hard to have a Marionette Behavior that reacts to validation issues. If a sub-region of a view has a Validation.bind then it prevents the parent from working correctly unless they share the same options.invalid and options.valid function.
Example:
This breaks the parent view, because the last
.bind
s options are the ones that are used in all views bound to the same model.This is pretty critical as I have a lot of subviews that are basically components.
The text was updated successfully, but these errors were encountered: