Customize ObjectVar Display #6018
-
Hello, I have a script where I need to select a bunch of interfaces, I am using this snippet:
But it only displays the "name" of the interface, but I need to display the device as well. Is there any way to do this in scripts or does it require a plugin ? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
My investigation pointed me to netbox/netbox/project-static/js/forms.js line 200. This is the line that displays the name of the record
I am also exploring ways to make the field static by using "StaticSelect2Multiple", but no luck so far... |
Beta Was this translation helpful? Give feedback.
-
No, this is not supported. |
Beta Was this translation helpful? Give feedback.
-
I found a workaround using a MultiChoiceVar
instead of
|
Beta Was this translation helpful? Give feedback.
No, this is not supported.