Field with type or filter „depends on“ #579
|
I'd like to use a field with type boolean and if this set to true, other fields should become visible. |
Replies: 1 comment
|
Hey brootheeer, As far as I can tell, this is not currently configurable as a dynamic field dependency in NetBox Custom Objects. The existing field options are more static:
So
It does not mean:
For example, this kind of rule is not currently available: or: Related object filters are differentIf you are looking at Example: That filters the dropdown choices, but it does not control whether the field itself is visible. Practical optionsOption 1: Keep the fields optionalThe simplest approach is:
This is simple, but it does not hide the fields dynamically. Option 2: Use
|
Hey brootheeer,
As far as I can tell, this is not currently configurable as a dynamic field dependency in NetBox Custom Objects.
The existing field options are more static:
UI visibleAlwaysIf setHiddenUI editableYesNoHiddenSo
UI visible = If setmeans:It does not mean:
For example, this kind of rule is not currently available:
or:
Related object filters are different
If you are looking at
Related object filter, that only limits the selectable objects for anobjectorm…