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
Parent update gets duplicate call. At least it appears to be duplicated. I don't see any differences on the object passed.
Not sure what a proper fix would be. One suggestion would be to mimic the event pattern and send another argument that tells the parent which event is being fired.
The text was updated successfully, but these errors were encountered:
It reports changes to its parent when it deems appropriate by calling this.parent.update(this) **note that it passes itself to the parent. You would typically do this when the this.value has changed or the this.valid has changed.
in the grand scheme, i suppose that a value change transitively drives valid change, so two events may not be reqd. im not sure if that covers all cases tho. e.g. can valid ever change without value changing? the form itself should be checking child fields for validity on update regardless, supporting your guys' points
can valid ever change without value changing
let's agree to an answer on this, and if it comes out with a 'yes', lets drop the valid evt and update the docs. gotta run!
Due to: https://github.com/AmpersandJS/ampersand-input-view/blob/master/ampersand-input-view.js#L68
Parent update gets duplicate call. At least it appears to be duplicated. I don't see any differences on the object passed.
Not sure what a proper fix would be. One suggestion would be to mimic the event pattern and send another argument that tells the parent which event is being fired.
The text was updated successfully, but these errors were encountered: