(control: FormControl, dir: NgControl)
| 282 | } |
| 283 | |
| 284 | function updateControl(control: FormControl, dir: NgControl): void { |
| 285 | if (control._pendingDirty) control.markAsDirty(); |
| 286 | control.setValue(control._pendingValue, {emitModelToViewChange: false}); |
| 287 | dir.viewToModelUpdate(control._pendingValue); |
| 288 | control._pendingChange = false; |
| 289 | } |
| 290 | |
| 291 | function setUpModelChangePipeline(control: FormControl, dir: NgControl): void { |
| 292 | const onChange = (newValue?: any, emitModelEvent?: boolean) => { |
no test coverage detected
searching dependent graphs…