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

Documentation should have at least one example, or show what is currently being used. #294

Open
nutmix opened this issue Feb 11, 2019 · 1 comment
Labels
enhancement help wanted Please submit pull-request

Comments

@nutmix
Copy link

nutmix commented Feb 11, 2019

As BigDecimal with scale of more than 3 is truncated with <f:table>, <f:display> etc, as a workaround, we need to override the default display. I have been told that we should create this file:

views/_fields/bigDecimal/_displayWidget.gsp

The question is, what should go in this file? The documentation should have at least one example, or point to where the current contents of this file (which don't seem to exist).

I could do something like ${value}.toPlainString(), but what html formatting needs to go round it to make it look/work like the other values? E.g. does it need div or span? does it need any specific class defined? One example in the docs, or copies of the existing implementations (or link to them) would really help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement help wanted Please submit pull-request
Projects
None yet
Development

No branches or pull requests

2 participants