Created
September 11, 2020 09:15
-
-
Save ivange94/f4d89c827c1a9741c7e45b760a15e610 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 | |
```javascript | |
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 | |
```javascript | |
validationSchema={validationSchema.concat(addressValidationSchema)} | |
``` | |
with | |
```javascript | |
validationSchema={validationSchema} | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment