]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-form/configuration-form.component.ts
update ceph source to reef 18.2.1
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / cluster / configuration / configuration-form / configuration-form.component.ts
index 18099109d5db4e162a5193e056ddfc1e6f020f4e..b6e9e700be464250c91d66dd7f6380ba0a46bdb8 100644 (file)
@@ -1,5 +1,5 @@
 import { Component, OnInit } from '@angular/core';
-import { FormControl, FormGroup, ValidatorFn } from '@angular/forms';
+import { UntypedFormControl, UntypedFormGroup, ValidatorFn } from '@angular/forms';
 import { ActivatedRoute, Router } from '@angular/router';
 
 import _ from 'lodash';
@@ -43,17 +43,17 @@ export class ConfigurationFormComponent extends CdForm implements OnInit {
 
   createForm() {
     const formControls = {
-      name: new FormControl({ value: null }),
-      desc: new FormControl({ value: null }),
-      long_desc: new FormControl({ value: null }),
-      values: new FormGroup({}),
-      default: new FormControl({ value: null }),
-      daemon_default: new FormControl({ value: null }),
-      services: new FormControl([])
+      name: new UntypedFormControl({ value: null }),
+      desc: new UntypedFormControl({ value: null }),
+      long_desc: new UntypedFormControl({ value: null }),
+      values: new UntypedFormGroup({}),
+      default: new UntypedFormControl({ value: null }),
+      daemon_default: new UntypedFormControl({ value: null }),
+      services: new UntypedFormControl([])
     };
 
     this.availSections.forEach((section) => {
-      formControls.values.addControl(section, new FormControl(null));
+      formControls.values.addControl(section, new UntypedFormControl(null));
     });
 
     this.configForm = new CdFormGroup(formControls);