Advertisement
Guest User

Untitled

a guest
Aug 18th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. Error: Must supply a value for form control at index: 0.
  2. at forms.js:5026
  3. at forms.js:4971
  4. at Array.forEach (<anonymous>)
  5. at FormArray._forEachChild (forms.js:4966)
  6. at FormArray._checkAllValuesPresent (forms.js:5019)
  7. at FormArray.setValue (forms.js:4745)
  8. at AttendenceFormComponent.<anonymous> (attendence-form.component.ts:43)
  9. at Generator.next (<anonymous>)
  10. at tslib.es6.js:73
  11. at new ZoneAwarePromise (zone-evergreen.js:876)
  12. at resolvePromise (zone-evergreen.js:797)
  13. at new ZoneAwarePromise (zone-evergreen.js:879)
  14. at Module.__awaiter (tslib.es6.js:69)
  15. at AttendenceFormComponent.setClass (attendence-form.component.ts:42)
  16. at Object.eval [as handleEvent] (AttendenceFormComponent.html:6)
  17. at handleEvent (core.js:36772)
  18. at callWithDebugContext (core.js:38390)
  19. at Object.debugHandleEvent [as handleEvent] (core.js:38026)
  20. at dispatchEvent (core.js:24335)
  21. at core.js:26203```
  22.  
  23. this error comes when I reselect date
  24.  
  25. ERROR Error: Must supply a value for form control at index: 0.
  26. at forms.js:5026
  27. at forms.js:4971
  28. at Array.forEach (<anonymous>)
  29. at FormArray._forEachChild (forms.js:4966)
  30. at FormArray._checkAllValuesPresent (forms.js:5019)
  31. at FormArray.setValue (forms.js:4745)
  32. at AttendenceFormComponent.setDate (attendence-form.component.ts:54)
  33. at Object.eval [as handleEvent] (AttendenceFormComponent.html:18)
  34. at handleEvent (core.js:36772)
  35. at callWithDebugContext (core.js:38390)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement