浏览代码

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

Arsen Simonyan 3 年之前
父节点
当前提交
b511b8cdda
共有 1 个文件被更改,包括 1 次插入1 次删除
  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(
     yup.object().shape({
       name: yup.string().required(),
-      value: yup.string().required(),
+      value: yup.string().required('Value is required'),
     })
   ),
 });