@bigbinary/neeto-form-frontend 3.9.5 → 3.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1038,7 +1038,7 @@ var formValidationSchema = function formValidationSchema() {
1038
1038
  field: i18next.t("neetoForm.questions.common.questionFields.field.questionType")
1039
1039
  })),
1040
1040
  label: yup__namespace.string().when("kind", function (kind, schema) {
1041
- return ramda.includes(kind, constants.RICH_TEXT_QUESTIONS) ? schema.test(richTextFieldMissingErrorMessage(kind), function (value) {
1041
+ return ramda.includes(kind, constants.RICH_TEXT_QUESTIONS) ? schema.test("required", richTextFieldMissingErrorMessage(kind), function (value) {
1042
1042
  return !utils$1.isEditorEmpty(value);
1043
1043
  }) : requiredLabelValidation(schema, i18next.t("neetoForm.questions.common.questionFields.field.question"));
1044
1044
  }),