File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,11 +35,11 @@ export function createContactCardNavFormSchema({ t }: CreateSchemaOptions) {
3535 . label ( t ( 'validators.contactCardNavForm.contactEmail' ) ) ,
3636 firstName : requiredText ( 255 ) . label ( t ( 'validators.contactCardNavForm.contactFirstName' ) ) ,
3737 lastName : optionalText ( 255 ) . label ( t ( 'validators.contactCardNavForm.contactLastName' ) ) . nullable ( ) ,
38- phoneNumber : requiredText ( ) . label ( t ( 'validators.contactCardNavForm.contactPhoneNumber' ) ) ,
39- contactApplicantRelationship : requiredText ( )
38+ phoneNumber : optionalText ( ) . label ( t ( 'validators.contactCardNavForm.contactPhoneNumber' ) ) ,
39+ contactApplicantRelationship : optionalText ( )
4040 . oneOf ( PROJECT_RELATIONSHIP_LIST )
4141 . label ( t ( 'validators.contactCardNavForm.contactApplicantRelationship' ) ) ,
42- contactPreference : requiredText ( )
42+ contactPreference : optionalText ( )
4343 . oneOf ( CONTACT_PREFERENCE_LIST )
4444 . label ( t ( 'validators.contactCardNavForm.contactPreference' ) ) ,
4545 userId : optionalText ( )
You can’t perform that action at this time.
0 commit comments