-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
trying to fix bug on profile edit page
- Loading branch information
1 parent
378a66f
commit 6fd088a
Showing
3 changed files
with
10 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,7 +53,7 @@ export const fields = { | |
placeholder: '[email protected]', | ||
label: 'Email', | ||
isRequiredInput: true, | ||
noEdit: true, | ||
noEdit: false, | ||
}, | ||
firstName: { | ||
type: 'text', | ||
|
@@ -183,7 +183,7 @@ export const fields = { | |
className: 'half-width-input', | ||
initialSelectedIndex: 0, | ||
isRequiredInput: true, | ||
noEdit: true, | ||
noEdit: false, | ||
localStorageKey: 'registration-discipline', | ||
}, | ||
phoneNumberLabel: { | ||
|
@@ -417,7 +417,7 @@ export const fields = { | |
initialSelectedIndex: 1, | ||
className: 'half-width-input', | ||
isRequiredInput: true, | ||
noEdit: true, | ||
noEdit: false, | ||
localStorageKey: 'registration-shirtSize', | ||
}, | ||
attendingScunt: { | ||
|
@@ -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; | ||
// } | ||
// }, | ||
}, | ||
}, | ||
}; | ||
|
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
version: '3.8' | ||
|
||
services: | ||
mongodb-test: | ||
|
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
version: '3.8' | ||
|
||
services: | ||
mongodb: | ||
|