]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-discovery-modal/iscsi-target-discovery-modal.component.ts
update ceph source to reef 18.2.1
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / block / iscsi-target-discovery-modal / iscsi-target-discovery-modal.component.ts
index 68958cfaa2b01ed0bd4bc63fb079aebe5f850357..d20525fdd43d98bad3bc4566ea0ff04278a018ff 100644 (file)
@@ -1,5 +1,5 @@
 import { Component, OnInit } from '@angular/core';
-import { FormControl, Validators } from '@angular/forms';
+import { UntypedFormControl, Validators } from '@angular/forms';
 
 import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
 
@@ -45,10 +45,10 @@ export class IscsiTargetDiscoveryModalComponent implements OnInit {
 
   createForm() {
     this.discoveryForm = new CdFormGroup({
-      user: new FormControl({ value: '', disabled: !this.hasPermission }),
-      password: new FormControl({ value: '', disabled: !this.hasPermission }),
-      mutual_user: new FormControl({ value: '', disabled: !this.hasPermission }),
-      mutual_password: new FormControl({ value: '', disabled: !this.hasPermission })
+      user: new UntypedFormControl({ value: '', disabled: !this.hasPermission }),
+      password: new UntypedFormControl({ value: '', disabled: !this.hasPermission }),
+      mutual_user: new UntypedFormControl({ value: '', disabled: !this.hasPermission }),
+      mutual_password: new UntypedFormControl({ value: '', disabled: !this.hasPermission })
     });
 
     CdValidators.validateIf(