mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-28 11:26:26 -06:00
HTMX work on 9583.
This commit is contained in:
parent
4c39516253
commit
e762755e80
@ -60,7 +60,7 @@ Context:
|
||||
{% block content %}
|
||||
|
||||
{# Object list tab #}
|
||||
<div class="tab-pane show active" id="object-list" role="tabpanel" aria-labelledby="object-list-tab">
|
||||
<div class="tab-pane show active" id="object-list" role="tabpanel" aria-labelledby="object-list-tab" hx-include="#object-list thead select, #object-list input[type='search']">
|
||||
|
||||
{# Applied filters #}
|
||||
{% if filter_form %}
|
||||
|
@ -74,7 +74,7 @@ def render_filter_field(field, bulk_nullable=False, label=None):
|
||||
"""
|
||||
if hasattr(field.field, 'widget'):
|
||||
field.field.widget.attrs.update({
|
||||
'hx-get': None,
|
||||
'hx-get': "",
|
||||
'hx-target': '#object_list',
|
||||
'hx-trigger': 'hidden.bs.dropdown from:closest .dropdown'
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user