From 09849391e393d853c86ec077139dd578e524fd98 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Wed, 12 Aug 2020 13:03:59 -0400 Subject: [PATCH] Remove filter_for argument from Select2 widgets --- netbox/utilities/forms/widgets.py | 36 ++----------------------------- 1 file changed, 2 insertions(+), 34 deletions(-) diff --git a/netbox/utilities/forms/widgets.py b/netbox/utilities/forms/widgets.py index f9eb42663..58aca97c7 100644 --- a/netbox/utilities/forms/widgets.py +++ b/netbox/utilities/forms/widgets.py @@ -79,29 +79,12 @@ class SelectWithDisabled(forms.Select): class StaticSelect2(SelectWithDisabled): """ - A static content using the Select2 widget - - :param filter_for: (Optional) A dict of chained form fields for which this field is a filter. The key is the - name of the filter-for field (child field) and the value is the name of the query param filter. + A static