Ver código fonte

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

Arsen Simonyan 3 anos atrás
pai
commit
b511b8cdda
1 arquivos alterados com 1 adições e 1 exclusões
  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'),
     })
   ),
 });