From d38a529bfa7e2c6ff77a14244dd10c80a722059f Mon Sep 17 00:00:00 2001 From: SondreB Date: Sat, 6 Jul 2024 19:10:22 +0200 Subject: [PATCH] Add max length indicator to bio --- app/src/app/profile/edit/edit.component.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/src/app/profile/edit/edit.component.html b/app/src/app/profile/edit/edit.component.html index 82ab8bc8..c1d95755 100644 --- a/app/src/app/profile/edit/edit.component.html +++ b/app/src/app/profile/edit/edit.component.html @@ -7,7 +7,7 @@

Edit your profile

Name - +
@@ -15,7 +15,7 @@

Edit your profile

Title - + @if (addressForm.controls['title'].hasError('required')) { Title is required } @@ -36,10 +36,11 @@

Edit your profile

Bio - + @if (addressForm.controls['bio'].hasError('required')) { Bio is required } + {{bio.value.length}} / 300