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

[EAK-527] Enhance StringTransformation routine #527

Closed
smiakchilo opened this issue May 31, 2024 · 0 comments · Fixed by #528
Closed

[EAK-527] Enhance StringTransformation routine #527

smiakchilo opened this issue May 31, 2024 · 0 comments · Fixed by #528
Assignees
Labels
enhancement New feature or request

Comments

@smiakchilo
Copy link
Collaborator

As an EAK user, I aplly @OptionSource with enums or constant classes used as the source of data for dropdown lists. An enum constant is usually spelled in the format like DARK_GRAY. To convert it into an option label, I would use textTransform = StringTransformation.CAPITALIZE. However this transformation does not process underscore separator although it does process dashes.

I would like to have DARK_GRAY converted to "Dark Gray" when StringTransformation.CAPITALIZE` is used.

Also, they need to make sure that the same word-separatio/conversion principles are used with all the available transformers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging a pull request may close this issue.

1 participant