Ajout MatForm module

This commit is contained in:
2026-01-14 15:42:58 +01:00
parent a538734243
commit c66ad11a7f
9 changed files with 43 additions and 16 deletions

View File

@@ -1,5 +1,6 @@
import { Component, OnInit } from "@angular/core";
import { FormControl, FormGroup, Validators } from "@angular/forms";
import { MatFormFieldModule } from "@angular/material/form-field";
import { ServiceComm } from "../../services/service-comm.service";
import { GearService } from "../../services/gear.service";
@@ -10,7 +11,7 @@ import { TranslateModule } from "@ngx-translate/core";
selector: "app-new-gear",
templateUrl: "./new-gear.component.html",
styleUrls: ["./new-gear.component.css"],
imports: [TranslateModule],
imports: [TranslateModule, MatFormFieldModule],
})
export class NewGearComponent implements OnInit {
public addForm: FormGroup;