(control: FormControl, dir: NgControl)
| 264 | } |
| 265 | |
| 266 | function setUpViewChangePipeline(control: FormControl, dir: NgControl): void { |
| 267 | dir.valueAccessor!.registerOnChange((newValue: any) => { |
| 268 | control._pendingValue = newValue; |
| 269 | control._pendingChange = true; |
| 270 | control._pendingDirty = true; |
| 271 | |
| 272 | if (control.updateOn === 'change') updateControl(control, dir); |
| 273 | }); |
| 274 | } |
| 275 | |
| 276 | function setUpBlurPipeline(control: FormControl, dir: NgControl): void { |
| 277 | dir.valueAccessor!.registerOnTouched(() => { |
no test coverage detected