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

0(zero) is not displayed in UI view as a label value for data type like Integer,Big Decimal,Long,Decimal (Reopen #691) #714

Open
kchsravanthi opened this issue Mar 23, 2020 · 1 comment

Comments

@kchsravanthi
Copy link

Field value 0 (zero) is shown with empty value for label in UI (Reopen #691)

Nimbus version:1.3.2.M2

Current Behavior

Field value 0 (zero) is shown with empty value for label in UI .

Expected Behavior

0 should be displayed as a label value while pre-populating the field value 0 saved in MongoDB.

Steps to Reproduce

Enter the BigDecimal Data type field value as 0.
Click submit the form .
Go to history page or any other view
UI like History page while displaying label field value with 0 shows as empty (nothing display)

Code Snippet

@MapsTo.Type(sampleCollect.class)
//field declaration
@path("/sampleCollect/fieldDecimal")
@Label(value="amount")
private BigDecimal fieldDecimal;

@srikanth497
Copy link

Issue was replicated, As observed issue was not there.working as expected.

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

No branches or pull requests

3 participants