Skip to content

Commit

Permalink
trying to fix bug on profile edit page
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurikam2003 committed Aug 26, 2024
1 parent 378a66f commit 6fd088a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
20 changes: 10 additions & 10 deletions client/src/pages/Registration/RegistrationFields.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const fields = {
placeholder: '[email protected]',
label: 'Email',
isRequiredInput: true,
noEdit: true,
noEdit: false,
},
firstName: {
type: 'text',
Expand Down Expand Up @@ -183,7 +183,7 @@ export const fields = {
className: 'half-width-input',
initialSelectedIndex: 0,
isRequiredInput: true,
noEdit: true,
noEdit: false,
localStorageKey: 'registration-discipline',
},
phoneNumberLabel: {
Expand Down Expand Up @@ -417,7 +417,7 @@ export const fields = {
initialSelectedIndex: 1,
className: 'half-width-input',
isRequiredInput: true,
noEdit: true,
noEdit: false,
localStorageKey: 'registration-shirtSize',
},
attendingScunt: {
Expand Down Expand Up @@ -515,13 +515,13 @@ export const fields = {
noEdit: false,
localStorageKey: 'registration-marketingMore',
isDisabled: true, // to initially set to disabled until 'Other' is clicked
validation: (value) => {
if (value.length > 100) {
return 'Please use less than 100 characters';
} else {
return true;
}
},
// validation: (value) => {
// if (value.length > 100) {
// return 'Please use less than 100 characters';
// } else {
// return true;
// }
// },
},
},
};
Expand Down
1 change: 0 additions & 1 deletion docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.8'

services:
mongodb-test:
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.8'

services:
mongodb:
Expand Down

0 comments on commit 6fd088a

Please sign in to comment.