Created
September 11, 2020 09:16
-
-
Save ivange94/a46762bd4cb14dad22afe0c99cf443ab to your computer and use it in GitHub Desktop.
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
// Replace [line 182](https://github.com/openmrs/openmrs-esm-patient-registration/blob/master/src/patient-registration/patient-registration.component.tsx#L182) with | |
setValidationSchema(validationSchema.concat(addressValidationSchemaTmp)); | |
// Delete https://github.com/openmrs/openmrs-esm-patient-registration/blob/master/src/patient-registration/patient-registration.component.tsx#L86 | |
//And in the form component replace | |
validationSchema={validationSchema.concat(addressValidationSchema)} | |
// with | |
validationSchema={validationSchema} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment