From 5f6e88bb33a8b50636c74b8f61dedb00f8b54dc4 Mon Sep 17 00:00:00 2001 From: Prateek Sunal Date: Wed, 15 May 2024 18:14:46 +0530 Subject: [PATCH] fix(auth): set maxlength limit of 100 to tags --- auth/lib/onboarding/view/common/add_tag.dart | 1 + auth/lib/onboarding/view/common/edit_tag.dart | 1 + 2 files changed, 2 insertions(+) diff --git a/auth/lib/onboarding/view/common/add_tag.dart b/auth/lib/onboarding/view/common/add_tag.dart index 3fb42071e..716515ad4 100644 --- a/auth/lib/onboarding/view/common/add_tag.dart +++ b/auth/lib/onboarding/view/common/add_tag.dart @@ -27,6 +27,7 @@ class _AddTagDialogState extends State { crossAxisAlignment: CrossAxisAlignment.start, children: [ TextFormField( + maxLength: 100, decoration: InputDecoration( hintText: l10n.tag, hintStyle: const TextStyle( diff --git a/auth/lib/onboarding/view/common/edit_tag.dart b/auth/lib/onboarding/view/common/edit_tag.dart index fe1f38564..3885312d2 100644 --- a/auth/lib/onboarding/view/common/edit_tag.dart +++ b/auth/lib/onboarding/view/common/edit_tag.dart @@ -29,6 +29,7 @@ class _EditTagDialogState extends State { crossAxisAlignment: CrossAxisAlignment.start, children: [ TextFormField( + maxLength: 100, decoration: InputDecoration( hintText: l10n.tag, hintStyle: const TextStyle(