-
+
+
+ {formData.title.length}/50
+
-
+
+
+ {formData.description.length}/5000
+
diff --git a/app/src/pages/post/FacultyPost.tsx b/app/src/pages/post/FacultyPost.tsx
index 9670cf0..105a20a 100644
--- a/app/src/pages/post/FacultyPost.tsx
+++ b/app/src/pages/post/FacultyPost.tsx
@@ -124,7 +124,10 @@ export function FacultyPost() {
-
+
+
+ {formData.title.length}/50
+
-
Description
+
+
Description
+ {formData.description.length}/5000
+
diff --git a/app/src/pages/post/PostView.tsx b/app/src/pages/post/PostView.tsx
index c728d0c..b9e05ff 100644
--- a/app/src/pages/post/PostView.tsx
+++ b/app/src/pages/post/PostView.tsx
@@ -353,11 +353,15 @@ export function PostView() {
{isEditing ? (
-
+
+
+ {editForm.title.length}/50
+
setEditForm(prev => ({ ...prev, title: e.target.value }))}
+ maxLength={50}
className="w-full text-base text-gray-800 bg-white border border-gray-300 rounded-lg px-3 py-2 focus:outline-none focus:ring-2 focus:ring-gray-400/40 focus:border-gray-600"
/>
@@ -380,12 +384,18 @@ export function PostView() {
{/* Description */}