X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fpybind%2Fmgr%2Fdashboard%2Ffrontend%2Fsrc%2Fapp%2Fceph%2Fblock%2Fiscsi-target-discovery-modal%2Fiscsi-target-discovery-modal.component.ts;h=d20525fdd43d98bad3bc4566ea0ff04278a018ff;hb=aee94f6923ba628a85d855d0c5316d0da78bfa2a;hp=68958cfaa2b01ed0bd4bc63fb079aebe5f850357;hpb=27f45121cc74e31203777ad565f78d8aad9b92a2;p=ceph.git diff --git a/ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-discovery-modal/iscsi-target-discovery-modal.component.ts b/ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-discovery-modal/iscsi-target-discovery-modal.component.ts index 68958cfaa..d20525fdd 100644 --- a/ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-discovery-modal/iscsi-target-discovery-modal.component.ts +++ b/ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-discovery-modal/iscsi-target-discovery-modal.component.ts @@ -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(