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,22 +21,22 @@
|
|
21 |
</div>
|
22 |
</div>
|
23 |
|
24 |
-
<form (ngSubmit)="send()" class="input-row">
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
</form>
|
41 |
|
42 |
</mat-card>
|
|
|
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"
|
30 |
+
autocomplete="off"/>
|
31 |
+
</mat-form-field>
|
32 |
+
|
33 |
+
<button
|
34 |
+
mat-icon-button
|
35 |
+
color="primary"
|
36 |
+
type="submit"
|
37 |
+
[disabled]="input.invalid">
|
38 |
+
<mat-icon>send</mat-icon>
|
39 |
+
</button>
|
40 |
+
</form>
|
41 |
|
42 |
</mat-card>
|