auto-claude: subtask-1-3 - Add maxLength attribute to textarea and enforce character limit

This commit is contained in:
2026-01-25 06:35:27 +01:00
parent bfdc52a117
commit 483c8aefe7
5 changed files with 296 additions and 1 deletions
+1
View File
@@ -274,6 +274,7 @@ export function ContactForm() {
onChange={handleChange}
placeholder={t('contactForm.message.placeholder')}
rows={6}
maxLength={MAX_MESSAGE_LENGTH}
disabled={isSubmitting}
className="w-full px-4 py-3 bg-zinc-900/50 border border-zinc-800 rounded-lg text-white placeholder:text-zinc-500 focus:outline-none focus:ring-2 focus:ring-zinc-600 disabled:opacity-50 resize-none"
/>