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