From 056785899f42001c77061ec0dff987991d702570 Mon Sep 17 00:00:00 2001 From: David Glick Date: Fri, 20 Oct 2023 10:49:13 -0700 Subject: [PATCH] Fixes --- backend/src/ploneorg/src/ploneorg/content/foundationsponsor.py | 1 - .../volto/helpers/FormValidation/FormValidation.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/src/ploneorg/src/ploneorg/content/foundationsponsor.py b/backend/src/ploneorg/src/ploneorg/content/foundationsponsor.py index 4dfd207..0560d8c 100644 --- a/backend/src/ploneorg/src/ploneorg/content/foundationsponsor.py +++ b/backend/src/ploneorg/src/ploneorg/content/foundationsponsor.py @@ -178,7 +178,6 @@ class IFoundationSponsor(Schema): country = schema.Choice( title=_PMF("Country", default="Country"), vocabulary="ploneorg.vocabulary.countries", - default="USA", required=True, ) diff --git a/frontend/src/customizations/volto/helpers/FormValidation/FormValidation.js b/frontend/src/customizations/volto/helpers/FormValidation/FormValidation.js index f6bd66e..9254f71 100644 --- a/frontend/src/customizations/volto/helpers/FormValidation/FormValidation.js +++ b/frontend/src/customizations/volto/helpers/FormValidation/FormValidation.js @@ -3,7 +3,7 @@ * - added boolean field validation */ import { map, uniq, keys, intersection, isEmpty } from 'lodash'; -import { messages } from '../MessageLabels/MessageLabels'; +import { messages } from '@plone/volto/helpers/MessageLabels/MessageLabels'; import config from '@plone/volto/registry'; import { toast } from 'react-toastify'; import Toast from '@plone/volto/components/manage/Toast/Toast';