mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-26 17:26:10 -06:00
fixed interface hx query #12145
This commit is contained in:
parent
8d6c591535
commit
d2edb055d6
@ -26,7 +26,7 @@ class DataSourceForm(NetBoxModelForm):
|
|||||||
'type': forms.Select(
|
'type': forms.Select(
|
||||||
attrs={
|
attrs={
|
||||||
'hx-get': '.',
|
'hx-get': '.',
|
||||||
'hx-include': '#form_fields input',
|
'hx-include': '#form_fields input, #form_fields select',
|
||||||
'hx-target': '#form_fields',
|
'hx-target': '#form_fields',
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
|
@ -321,7 +321,7 @@ class VMInterfaceForm(InterfaceCommonForm, NetBoxModelForm):
|
|||||||
'mode': forms.Select(
|
'mode': forms.Select(
|
||||||
attrs={
|
attrs={
|
||||||
'hx-get': '.',
|
'hx-get': '.',
|
||||||
'hx-include': '#form_fields input',
|
'hx-include': '#form_fields input, #form_fields select',
|
||||||
'hx-target': '#form_fields',
|
'hx-target': '#form_fields',
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user