(dir: AbstractControlDirective)
| 360 | } |
| 361 | |
| 362 | function _throwInvalidValueAccessorError(dir: AbstractControlDirective) { |
| 363 | const loc = _describeControlLocation(dir); |
| 364 | throw new RuntimeError( |
| 365 | RuntimeErrorCode.NG_VALUE_ACCESSOR_NOT_PROVIDED, |
| 366 | `Value accessor was not provided as an array for form control with ${loc}. ` + |
| 367 | `Check that the \`NG_VALUE_ACCESSOR\` token is configured as a \`multi: true\` provider.`, |
| 368 | ); |
| 369 | } |
| 370 | |
| 371 | export function isPropertyUpdated(changes: {[key: string]: any}, viewModel: any): boolean { |
| 372 | if (!changes.hasOwnProperty('model')) return false; |
no test coverage detected
searching dependent graphs…