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

Add tt option beauty-text/beauty-igno-lead #67

Closed
elbakerino opened this issue Oct 13, 2020 · 1 comment
Closed

Add tt option beauty-text/beauty-igno-lead #67

elbakerino opened this issue Oct 13, 2020 · 1 comment
Labels
enhancement New feature or request
Projects

Comments

@elbakerino
Copy link
Member

elbakerino commented Oct 13, 2020

As described in #65 using tt for e.g. numeric enum will produce wrong output, -1 is converted to 1.

To be able to display numeric negative values - and more - two new beautify keyword should be introduced.

  • beauty-text which will ignore any numeric value, but still beautifies text
  • beauty-igno-lead will not beautify anything at the start until first non-special character is used

Maybe even a more generic way should be used, to tell also ol-for-numeric-and-beautify-for-text.

@elbakerino elbakerino added the enhancement New feature or request label Oct 13, 2020
@elbakerino elbakerino added this to To do in ui-schema via automation Oct 13, 2020
@elbakerino
Copy link
Member Author

Implemented in ui-schema/ui-schema 0.2.0

ui-schema automation moved this from To do to Done Feb 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
ui-schema
  
Done
Development

No branches or pull requests

1 participant