-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Eng suffix for the firstName in user form
We currently don't support milti language support for both surname and first names so the ENG/EN suffixes are not needed. Also remove EN bits that were left for the surname field #6830
- Loading branch information
Showing
5 changed files
with
14 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1447,8 +1447,7 @@ export const mockCompleteFormData = { | |
assignedRegistrationOffice: '', | ||
device: '', | ||
familyName: 'Hossain', | ||
firstNames: 'Jeff', | ||
firstNamesEng: 'Jeff', | ||
firstName: 'Jeff', | ||
nid: '123456789', | ||
phoneNumber: '01662132132', | ||
email: '[email protected]', | ||
|
@@ -1599,7 +1598,7 @@ export const mockUserGraphqlOperation = { | |
} | ||
}, | ||
{ | ||
name: 'firstNamesEng', | ||
name: 'firstNames', | ||
type: 'TEXT', | ||
label: { | ||
defaultMessage: 'English first name', | ||
|
@@ -1621,12 +1620,12 @@ export const mockUserGraphqlOperation = { | |
} | ||
}, | ||
{ | ||
name: 'familyNameEng', | ||
name: 'familyName', | ||
type: 'TEXT', | ||
label: { | ||
defaultMessage: 'English last name', | ||
description: 'English last name', | ||
id: 'form.field.label.lastNameEN' | ||
id: 'form.field.label.userSurname' | ||
}, | ||
required: true, | ||
initialValue: '', | ||
|
@@ -1795,8 +1794,7 @@ export const mockDataWithRegistarRoleSelected = { | |
assignedRegistrationOffice: '', | ||
device: '', | ||
familyName: 'Hossain', | ||
firstNames: 'Jeff', | ||
firstNamesEng: 'Jeff', | ||
firstName: 'Jeff', | ||
email: '[email protected]', | ||
nid: '101488192', | ||
phoneNumber: '01662132132', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters