Replies: 2 comments
-
|
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Yep, that fixed it. Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
I've noticed when displaying large numbers as Text that the numbers are being altered somewhere in the frontend Javascript leading to incorrect values being displayed. Searching a resource by this number and updating the value for this number via a form are saved correctly, it seems to only be a display issue.
Detailed steps to reproduce the issue on a fresh Nova installation:
platform_thread_idset to value1120706941212172299.Showing the resource on Nova displays the number as
1120706941212172300which is incorrect. I handle this as a Text field in Nova expecting that it would avoid any Javascript rounding issues. This incorrect number also shows when editing the resource from a relation (as shown below). Re-entering the correct value and saving this form saves the correct value.As well as when showing the resource via an index page (again using it as a Text field):
I can also see in the ajax requesting loading the data that it's actually loading the correct value, so the value appears to be altered somewhere in the frontend JS before it's displayed:
Beta Was this translation helpful? Give feedback.
All reactions