From 0836a4bee0248fafd9857960ce7f40c6a9d86497 Mon Sep 17 00:00:00 2001 From: Alexander Lee Date: Tue, 21 May 2024 12:28:15 +0800 Subject: [PATCH] chore: increase contact us field limits (#1887) --- src/utils/validators.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/utils/validators.js b/src/utils/validators.js index 7cab88c03..fec834c38 100644 --- a/src/utils/validators.js +++ b/src/utils/validators.js @@ -166,17 +166,17 @@ const INFOCOLS_INFOBOX_DESCRIPTION_MAX_LENGTH = 120 // =============== // Contacts const CONTACT_TITLE_MIN_LENGTH = 1 -const CONTACT_TITLE_MAX_LENGTH = 30 +const CONTACT_TITLE_MAX_LENGTH = 50 const CONTACT_DESCRIPTION_MAX_LENGTH = 400 // Locations const LOCATION_TITLE_MIN_LENGTH = 1 -const LOCATION_TITLE_MAX_LENGTH = 30 -const LOCATION_ADDRESS_MAX_LENGTH = 30 +const LOCATION_TITLE_MAX_LENGTH = 50 +const LOCATION_ADDRESS_MAX_LENGTH = 50 const LOCATION_OPERATING_DAYS_MIN_LENGTH = 2 -const LOCATION_OPERATING_DAYS_MAX_LENGTH = 30 +const LOCATION_OPERATING_DAYS_MAX_LENGTH = 50 const LOCATION_OPERATING_HOURS_MIN_LENGTH = 2 -const LOCATION_OPERATING_HOURS_MAX_LENGTH = 30 +const LOCATION_OPERATING_HOURS_MAX_LENGTH = 50 const LOCATION_OPERATING_DESCRIPTION_MAX_LENGTH = 100 // Nav Bar Editor