diff --git a/src/shared/components/Settings/Profile/BasicInfo/index.jsx b/src/shared/components/Settings/Profile/BasicInfo/index.jsx index aa7e8c9711..9e96db632c 100644 --- a/src/shared/components/Settings/Profile/BasicInfo/index.jsx +++ b/src/shared/components/Settings/Profile/BasicInfo/index.jsx @@ -255,6 +255,10 @@ export default class BasicInfo extends ConsentComponent { case 'streetAddr2': newBasicInfo.addresses[0][e.target.name] = e.target.value; break; + case 'firstName': + case 'lastName': + newBasicInfo[e.target.name] = e.target.value.replace(/[^a-zA-Z0-9,.]/g, ''); + break; default: newBasicInfo[e.target.name] = e.target.value; }