From 19110843316c422a3b261b35d2f03c60aa7b0119 Mon Sep 17 00:00:00 2001 From: Micha Riedlinger Date: Tue, 23 Jan 2024 12:22:40 +0500 Subject: [PATCH] 684 | [Admin Tool Feature]: Get rid of number validation --- admin/src/collections/recipients/RecipientsProperties.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/src/collections/recipients/RecipientsProperties.ts b/admin/src/collections/recipients/RecipientsProperties.ts index ed73a6ddb..b725ae8a8 100644 --- a/admin/src/collections/recipients/RecipientsProperties.ts +++ b/admin/src/collections/recipients/RecipientsProperties.ts @@ -40,7 +40,7 @@ export const communicationMobilePhoneProperty: Property = { phone: { name: 'Phone Number', dataType: 'number', - validation: { min: 23200000000, max: 23299999999 }, + validation: { min: 10000, max: 999999999999999, integer: true }, }, has_whatsapp: { name: 'WhatsApp', @@ -64,7 +64,7 @@ export const mobileMoneyPhoneProperty: Property = { phone: { name: 'Orange Money Number', dataType: 'number', - validation: { min: 23200000000, max: 23299999999 }, + validation: { min: 10000, max: 999999999999999, integer: true }, }, has_whatsapp: { name: 'WhatsApp',