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

Feature request: underscore to spaces #242

Open
pkcinna01 opened this issue Dec 22, 2022 · 1 comment
Open

Feature request: underscore to spaces #242

pkcinna01 opened this issue Dec 22, 2022 · 1 comment

Comments

@pkcinna01
Copy link

I'm submitting a ... (check one with "x")

[ ] bug report => search github for a similar issue or PR before submitting
[ x] feature request
  • Ngx-pipes version: 1.X.X

Current behavior

there is misc support for converting to underscores or camel case but nothing to convert json variables to UI friendly titles

Expected behavior
provide a pipe that takes snake case (underscores) and converts to locale friendly text by converting to spaces. I have encountered a need for these two scenarios:

  1. camel case => UI title
  2. snake case => UI title

Minimal reproduction of the problem with instructions

Please tell us about your environment:

  • Angular version: 7.X.X
  • Node (for AoT issues): node --version =
@ksvkabra
Copy link

#257

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

2 participants