Explorar o código

display a human-readable error message for topic custom parameers value field (#1896)

Arsen Simonyan %!s(int64=3) %!d(string=hai) anos
pai
achega
b511b8cdda
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      kafka-ui-react-app/src/lib/yupExtended.ts

+ 1 - 1
kafka-ui-react-app/src/lib/yupExtended.ts

@@ -62,7 +62,7 @@ export const topicFormValidationSchema = yup.object().shape({
   customParams: yup.array().of(
   customParams: yup.array().of(
     yup.object().shape({
     yup.object().shape({
       name: yup.string().required(),
       name: yup.string().required(),
-      value: yup.string().required(),
+      value: yup.string().required('Value is required'),
     })
     })
   ),
   ),
 });
 });