Ajoute de qq modules

This commit is contained in:
2026-01-14 19:03:37 +01:00
parent aad979b820
commit 546bad4393
15 changed files with 418 additions and 103 deletions

View File

@@ -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;