]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/feedback/feedback.component.ts
update ceph source to reef 18.2.1
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / shared / feedback / feedback.component.ts
index 91a49a1bd45b7000bf8f2c3c273128366caa96f3..ac53edef28b8f6a865ef5dbda0d1e1d1ae5070a6 100644 (file)
@@ -1,5 +1,5 @@
 import { Component, OnDestroy, OnInit } from '@angular/core';
-import { FormControl, Validators } from '@angular/forms';
+import { UntypedFormControl, Validators } from '@angular/forms';
 import { Router } from '@angular/router';
 
 import { NgbActiveModal, NgbModal } from '@ng-bootstrap/ng-bootstrap';
@@ -63,11 +63,11 @@ export class FeedbackComponent implements OnInit, OnDestroy {
 
   private createForm() {
     this.feedbackForm = new CdFormGroup({
-      project: new FormControl('', Validators.required),
-      tracker: new FormControl('', Validators.required),
-      subject: new FormControl('', Validators.required),
-      description: new FormControl('', Validators.required),
-      api_key: new FormControl('', Validators.required)
+      project: new UntypedFormControl('', Validators.required),
+      tracker: new UntypedFormControl('', Validators.required),
+      subject: new UntypedFormControl('', Validators.required),
+      description: new UntypedFormControl('', Validators.required),
+      api_key: new UntypedFormControl('', Validators.required)
     });
   }