Ajoute de qq modules
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
import { Component, OnInit } from "@angular/core";
|
||||
import { FormControl, FormGroup, Validators } from "@angular/forms";
|
||||
import {
|
||||
FormControl,
|
||||
FormGroup,
|
||||
ReactiveFormsModule,
|
||||
Validators,
|
||||
} from "@angular/forms";
|
||||
import { MatFormFieldModule } from "@angular/material/form-field";
|
||||
|
||||
import { ServiceComm } from "../../services/service-comm.service";
|
||||
@@ -11,7 +16,7 @@ import { TranslateModule } from "@ngx-translate/core";
|
||||
selector: "app-new-gear",
|
||||
templateUrl: "./new-gear.component.html",
|
||||
styleUrls: ["./new-gear.component.css"],
|
||||
imports: [TranslateModule, MatFormFieldModule],
|
||||
imports: [TranslateModule, MatFormFieldModule, ReactiveFormsModule],
|
||||
})
|
||||
export class NewGearComponent implements OnInit {
|
||||
public addForm: FormGroup;
|
||||
|
||||
Reference in New Issue
Block a user