Replies: 2 comments 2 replies
-
As a stopgap you could create the fields as text fields and add a validation regex:
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Should be doable. One potential issue is that JSON doesn't natively distinguish between integer and decimal values (it just knows "numbers"), however that logic should be handled by the custom field's serialization methods anyway. @eronlloyd would you like to submit a feature request for this? |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Now that 3.3 is out, I'm exploring ways to effectively document best practices for fiber terminations in Netbox since #9102 has been addressed. One of the first things I'm trying to do is create custom fields for insertion loss (IL) for ports and attenuation for cables, but this needs to be in decimal format to accurately represent the decibel values.
Would adding a Decimal type to custom fields be difficult to enable this use case?
Beta Was this translation helpful? Give feedback.
All reactions