![]() ![]() We could introduce a new observable (and still support valueChanges and statusChanges for backwards compatibility) containing all events produced in various situations, so it’s possible to subscribe, stream, and filter as needed. Additionally, if we wish to support the same state changes in ControlValueAccessor, we would be duplicating a lot of individual cases. Adding more observables similar to the current valueChanges and statusChanges is the most straightforward way to extend AbstractControl, however, as the number of such observables increases (for example pristine, dirty, etc) it might become less ergonomic and more expensive to maintain. The ability for AbstractControl-based classes (such as FormControl) to produce more events is a highly requested feature (lots of feedback in #10887, also #41088 and others #24444 is also a use case). Which package(s) are relevant/releated to the feature request? Original report is below – we have merged #42862 into this bug while organizing our issue tracker.
0 Comments
Leave a Reply. |