mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fixes #12146: Do not display object selector for disabled fields
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{% if widget.attrs.selector %}
|
||||
{% if widget.attrs.selector and not widget.attrs.disabled %}
|
||||
<div class="d-flex">
|
||||
{% include 'django/forms/widgets/select.html' %}
|
||||
<button
|
||||
|
Reference in New Issue
Block a user