From b511b8cdda477484f3ed221fd534df3032394830 Mon Sep 17 00:00:00 2001 From: Arsen Simonyan <103444767+simonyandev@users.noreply.github.com> Date: Mon, 2 May 2022 13:53:47 +0400 Subject: [PATCH] display a human-readable error message for topic custom parameers value field (#1896) --- kafka-ui-react-app/src/lib/yupExtended.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kafka-ui-react-app/src/lib/yupExtended.ts b/kafka-ui-react-app/src/lib/yupExtended.ts index 91f88c3c27..c8af702f0f 100644 --- a/kafka-ui-react-app/src/lib/yupExtended.ts +++ b/kafka-ui-react-app/src/lib/yupExtended.ts @@ -62,7 +62,7 @@ export const topicFormValidationSchema = yup.object().shape({ customParams: yup.array().of( yup.object().shape({ name: yup.string().required(), - value: yup.string().required(), + value: yup.string().required('Value is required'), }) ), });