Spaces:
Running
Running
Update flare-ui/src/app/components/chat/chat.component.html
Browse files
flare-ui/src/app/components/chat/chat.component.html
CHANGED
@@ -21,16 +21,16 @@
|
|
21 |
</div>
|
22 |
</div>
|
23 |
|
24 |
-
<form (ngSubmit)="send()" class="input-row"
|
25 |
<mat-form-field appearance="outline" class="flex-1">
|
26 |
<input
|
27 |
matInput
|
28 |
placeholder="Type your message…"
|
29 |
-
|
30 |
autocomplete="off"
|
31 |
/>
|
32 |
</mat-form-field>
|
33 |
-
|
34 |
<button
|
35 |
mat-icon-button
|
36 |
color="primary"
|
|
|
21 |
</div>
|
22 |
</div>
|
23 |
|
24 |
+
<form (ngSubmit)="send()" class="input-row">
|
25 |
<mat-form-field appearance="outline" class="flex-1">
|
26 |
<input
|
27 |
matInput
|
28 |
placeholder="Type your message…"
|
29 |
+
[formControl]="input" <!-- ← burada formControl -->
|
30 |
autocomplete="off"
|
31 |
/>
|
32 |
</mat-form-field>
|
33 |
+
|
34 |
<button
|
35 |
mat-icon-button
|
36 |
color="primary"
|