-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Hi, I want to create a tooltips property that would contain processed error data from corresponding validators (key to key mapping). For that, I need to listen to any change in validation errors and update my tooltips hash.
The first thing I tried was attaching directly to the .errors property on the model. However, I don't get notifications when its error arrays change and there is no equivalent to @each for properties (barring some hacks I found online).
Then I tried attaching to some variation of validators.@each construct. Unfortunately, I would need validators.@each.errors.@each and that's a bit further than Ember allows.
Do you have any idea what I could attach or listen to? Some kind of global allErrors property would be ideal for this, but I would take anything at this point.