Skip to content

Instantly share code, notes, and snippets.

@ivange94
Created September 11, 2020 09:16
Show Gist options
  • Save ivange94/a46762bd4cb14dad22afe0c99cf443ab to your computer and use it in GitHub Desktop.
Save ivange94/a46762bd4cb14dad22afe0c99cf443ab to your computer and use it in GitHub Desktop.
// 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