import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { FragorForAvvikelser } from '@msfa-models/fragor-for-avvikelser.model';

@Component({
  selector: 'msfa-deltagare-fragor-form',
  templateUrl: './deltagare-fragor-form.component.html',
  styleUrls: ['./deltagare-fragor-form.component.scss'],
  changeDetection: ChangeDetectionStrategy.OnPush

})

export class DeltagareFragorFormComponent {
  @Input() fragor1: FragorForAvvikelser[] | null = null;
  @Input() fragor2: FragorForAvvikelser[] | null = null;
  @Input() fragorFormGroup: FormGroup | null = null;
  @Input() avvikelseFormGroup: FormGroup | null = null;
  @Input() selectedOrsaksKod: string | null = null;

}
