You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a patient with a name containing special characters like an apostrophe ('), such as " Sam O'Brian ", the name is saved as " Sam Obrain ". The issue arises because the startCase and toLower provided by lodash package implemented in the frontend removes special characters during formatting.
Context: The auto-capitalization package was introduced after feedback from users who often entered names with inconsistent capitalization.
To Reproduce
Steps to reproduce the behavior:
Go to patient tab
Click on add patient details button
Create a patient with the name " Sam O'Brian "
See error in the patient details page
Expected behavior
The auto-formatting logic should only trigger after detecting a space and should capitalize the next letter in the patient registration form
Special characters, such as apostrophes ('), should be preserved as they are an integral part of many names.
Screenshots
The text was updated successfully, but these errors were encountered:
nihal467
changed the title
Disable Auto-Capitilasation Package in the patient registration form from removing special character
Accept Special Character Input For Patient Name in the Patient registration form
Nov 26, 2024
Describe the bug
When creating a patient with a name containing special characters like an apostrophe ('), such as " Sam O'Brian ", the name is saved as " Sam Obrain ". The issue arises because the startCase and toLower provided by lodash package implemented in the frontend removes special characters during formatting.
Context: The auto-capitalization package was introduced after feedback from users who often entered names with inconsistent capitalization.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
The text was updated successfully, but these errors were encountered: