Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Title Case function doesn't accept options and doesn't work for 'UPPER CASE' text #58

Open
sirmyron opened this issue Apr 26, 2021 · 0 comments

Comments

@sirmyron
Copy link

Not sure if I'm missing something but I'm trying to normalise imported data that's commonly entered as upper case, but the titleCase function doesn't work for this. I have to first be calling the toLowerCase method on the string which I feel defeats the purpose.

Also, there's no options parameter for me to pass in a transform. Though, I still think I shouldn't need to do this. I figured the aim of this library is to force text of any format into the format of the chosen function. Are my expectations incorrect based on the goal of the library?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant