import { Component, OnInit, TemplateRef, ViewChild } from '@angular/core';
-import { FormControl } from '@angular/forms';
+import { UntypedFormControl } from '@angular/forms';
import { Router } from '@angular/router';
import { NgbModalRef } from '@ng-bootstrap/ng-bootstrap';
delete() {
const deleteFormGroup = new CdFormGroup({
- preserve: new FormControl(false)
+ preserve: new UntypedFormControl(false)
});
this.showCriticalConfirmationModal(