We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d026de commit 64e3982Copy full SHA for 64e3982
src/shared/components/Settings/Profile/BasicInfo/index.jsx
@@ -257,7 +257,7 @@ export default class BasicInfo extends ConsentComponent {
257
break;
258
case 'firstName':
259
case 'lastName':
260
- newBasicInfo[e.target.name] = e.target.value.replace(/[^a-zA-Z0-9,.\-\ ]/g, '');
+ newBasicInfo[e.target.name] = e.target.value.replace(/[^a-zA-Z0-9,. -]/g, '');
261
262
default:
263
newBasicInfo[e.target.name] = e.target.value;
0 commit comments