diff --git a/src/components/DaoCreator/formComponents/EstablishEssentials.tsx b/src/components/DaoCreator/formComponents/EstablishEssentials.tsx index b5ea9490fa..a30a12ea80 100644 --- a/src/components/DaoCreator/formComponents/EstablishEssentials.tsx +++ b/src/components/DaoCreator/formComponents/EstablishEssentials.tsx @@ -159,7 +159,7 @@ export function EstablishEssentials(props: ICreationStepProps) { - setFieldValue('essentials.snapshotENS', cEvent.target.value, true) + setFieldValue('essentials.snapshotENS', cEvent.target.value.toLowerCase(), true) } isDisabled={snapshotENSDisabled} data-testid="essentials-snapshotENS" diff --git a/src/components/pages/DaoSettings/components/MetadataContainer.tsx b/src/components/pages/DaoSettings/components/MetadataContainer.tsx index ff9b96a20a..00b541697a 100644 --- a/src/components/pages/DaoSettings/components/MetadataContainer.tsx +++ b/src/components/pages/DaoSettings/components/MetadataContainer.tsx @@ -43,8 +43,9 @@ export function MetadataContainer() { }, [daoName, daoSnapshotENS, daoAddress]); const handleSnapshotENSChange: ChangeEventHandler = e => { - setSnapshotENS(e.target.value); - if (validateENSName(e.target.value) || (e.target.value === '' && daoSnapshotENS)) { + const lowerCasedValue = e.target.value.toLowerCase(); + setSnapshotENS(lowerCasedValue); + if (validateENSName(lowerCasedValue) || (e.target.value === '' && daoSnapshotENS)) { setSnapshotENSValid(true); } else { setSnapshotENSValid(false);