diff --git a/CHANGELOG.md b/CHANGELOG.md index 22591a913f..1b15ef310d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -65,6 +65,7 @@ The types of changes are: - Update privacy centre email and phone validation to allow for both to be blank [#3432](https://github.com/ethyca/fides/pull/3432) - Moved connection configuration into the system portal [#3407](https://github.com/ethyca/fides/pull/3407) - Update `fideslang` to `1.4.1` to allow arbitrary nested metadata on `System`s and `Dataset`s `meta` property [#3463](https://github.com/ethyca/fides/pull/3463) +- Remove form validation to allow both email & phone inputs for consent requests [#3529](https://github.com/ethyca/fides/pull/3529) ### Developer Experience diff --git a/clients/privacy-center/components/modals/consent-request-modal/ConsentRequestForm.tsx b/clients/privacy-center/components/modals/consent-request-modal/ConsentRequestForm.tsx index b2684b02f0..c2961bf68d 100644 --- a/clients/privacy-center/components/modals/consent-request-modal/ConsentRequestForm.tsx +++ b/clients/privacy-center/components/modals/consent-request-modal/ConsentRequestForm.tsx @@ -240,9 +240,6 @@ const ConsentRequestForm: React.FC = ({ onBlur={handleBlur} value={values.email} isInvalid={touched.email && Boolean(errors.email)} - isDisabled={Boolean( - typeof values.phone !== "undefined" && values.phone - )} /> {errors.email} @@ -252,9 +249,6 @@ const ConsentRequestForm: React.FC = ({ id="phone" isInvalid={touched.phone && Boolean(errors.phone)} isRequired={identityInputs.phone === "required"} - isDisabled={Boolean( - typeof values.email !== "undefined" && values.email - )} > Phone