From b0481f5ffcab757e4118ad637ff5f6b1000e7acf Mon Sep 17 00:00:00 2001 From: Rahul Dev Garg <34365102+rahuldevgarg@users.noreply.github.com> Date: Mon, 11 Sep 2023 12:14:06 +0530 Subject: [PATCH] PFM-4520 --- .../mgramseva/lib/screeens/add_expense/expense_details.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/mgramseva/lib/screeens/add_expense/expense_details.dart b/frontend/mgramseva/lib/screeens/add_expense/expense_details.dart index c06c0ebfe..b77a86929 100644 --- a/frontend/mgramseva/lib/screeens/add_expense/expense_details.dart +++ b/frontend/mgramseva/lib/screeens/add_expense/expense_details.dart @@ -274,7 +274,7 @@ class _ExpenseDetailsState extends State { textInputType: TextInputType.number, inputFormatter: [ FilteringTextInputFormatter.allow( - RegExp(r"^[1-9]\d{5}$")) + RegExp(r"^[1-9][0-9]{0,5}$")) ], labelSuffix: '(₹)', isDisabled: (expenseDetails.allowEdit ?? true)