Sign Up

Sign In

Forget Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

Discy Latest Questions

  • 0

I’m new to Angular 2 and decided the best way to learn would be to go through the official Angular guides. I went through the Reactive Forms Guide https://angular.io/guide/reactive-forms demo link: https://stackblitz.com/angular/jammvmbrpxle While the content was overall pretty good, I’m stuck on how ...

  • 0

this.formGroup = this.formBuilder.group({ images: this.fb.array([]) }); I add new element in this way: this.images.push(new FormControl(new ImageCreateForm(this.imageResponse.id))); get images(): FormArray { return <FormArray>this.formGroup.controls.images; } My classes: export class ImageCreateForm { id: number; constructor(id: number) { ...

  • 0

this.formGroup = this.formBuilder.group({ images: this.fb.array([]) }); I add new element in this way: this.images.push(new FormControl(new ImageCreateForm(this.imageResponse.id))); get images(): FormArray { return <FormArray>this.formGroup.controls.images; } My classes: export class ImageCreateForm { id: number; constructor(id: number) { ...

close