diff --git a/frontend/mgramseva/lib/screeens/add_expense/expense_details.dart b/frontend/mgramseva/lib/screeens/add_expense/expense_details.dart index 2bc19d97e..c06c0ebfe 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("[0-9]")) + RegExp(r"^[1-9]\d{5}$")) ], labelSuffix: '(₹)', isDisabled: (expenseDetails.allowEdit ?? true)