We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d1f809 commit 9d1fd9aCopy full SHA for 9d1fd9a
src/app/app.module.ts
@@ -1,5 +1,6 @@
1
import { NgModule } from '@angular/core';
2
import { BrowserModule } from '@angular/platform-browser';
3
+import { FormsModule } from '@angular/forms';
4
5
import { AppRoutingModule } from './app-routing.module';
6
import { AppComponent } from './app.component';
@@ -14,7 +15,8 @@ import { AppareilComponent } from './appareil/appareil.component';
14
15
],
16
imports: [
17
BrowserModule,
- AppRoutingModule
18
+ AppRoutingModule,
19
+ FormsModule
20
21
providers: [],
22
bootstrap: [AppComponent]
src/app/appareil/appareil.component.html
@@ -1,3 +1,4 @@
<li class="list-group-item">
<h4>Appareil : {{ appareilName }} -- Statut : {{ getStatus() }}</h4>
+ <input type="text" class="form-control" [(ngModel)]="appareilName">
</li>
0 commit comments