From 11758571403a909f39a3109fc71320778ca1a400 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Castillo?= Date: Thu, 11 Jun 2026 12:01:22 -0300 Subject: [PATCH] fix: adjust validation function for instructions at customize form MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomás Castillo --- .../components/customized-form/customized-form.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/sponsors/sponsor-page/tabs/sponsor-forms-tab/components/customized-form/customized-form.js b/src/pages/sponsors/sponsor-page/tabs/sponsor-forms-tab/components/customized-form/customized-form.js index a1530e1c0..5c40fbe7f 100644 --- a/src/pages/sponsors/sponsor-page/tabs/sponsor-forms-tab/components/customized-form/customized-form.js +++ b/src/pages/sponsors/sponsor-page/tabs/sponsor-forms-tab/components/customized-form/customized-form.js @@ -19,7 +19,8 @@ import { addIssAfterDateFieldValidator, formMetafieldsValidation, opensAtValidation, - requiredStringValidation + requiredStringValidation, + requiredHTMLValidation } from "../../../../../../../utils/yup"; import MuiFormikTextField from "../../../../../../../components/mui/formik-inputs/mui-formik-textfield"; import useScrollToError from "../../../../../../../hooks/useScrollToError"; @@ -62,7 +63,7 @@ const CustomizedForm = ({ validationSchema: yup.object().shape({ name: requiredStringValidation(), code: requiredStringValidation(), - instructions: requiredStringValidation(), + instructions: requiredHTMLValidation(), opens_at: opensAtValidation(), expires_at: yup .date(T.translate("validation.date"))