Inconsistent styling of custom fields in filter & bulk edit forms #5947

Closed
opened 2025-12-29 19:34:39 +01:00 by adam · 2 comments
Owner

Originally created by @jeremystretch on GitHub (Jan 14, 2022).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.1.5

Python version

3.7

Steps to Reproduce

  1. Add a custom field for sites (or any model)
  2. View the sites list and click the "filters" tab

Expected Behavior

The custom field should appear at the bottom of the filters form with the same styling as the other fields.

Observed Behavior

The custom field appears, but is not styled consistently.
Screenshot 2022-01-14 at 08-35-36 Tenants NetBox

Originally created by @jeremystretch on GitHub (Jan 14, 2022). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.1.5 ### Python version 3.7 ### Steps to Reproduce 1. Add a custom field for sites (or any model) 2. View the sites list and click the "filters" tab ### Expected Behavior The custom field should appear at the bottom of the filters form with the same styling as the other fields. ### Observed Behavior The custom field appears, but is not styled consistently. ![Screenshot 2022-01-14 at 08-35-36 Tenants NetBox](https://user-images.githubusercontent.com/13487278/149523778-0a7e2510-f616-482a-9e36-2a89514ea8c3.png)
adam added the type: bugstatus: accepted labels 2025-12-29 19:34:39 +01:00
adam closed this issue 2025-12-29 19:34:39 +01:00
Author
Owner

@ryanmerolle commented on GitHub (Jan 14, 2022):

wow nice catch... that's a subtle detail I would likely have never caught.

@ryanmerolle commented on GitHub (Jan 14, 2022): wow nice catch... that's a subtle detail I would likely have never caught.
Author
Owner

@jeremystretch commented on GitHub (Jan 14, 2022):

I can't take credit for this actually; Danko Trajkovic on the NetDev Slack spotted it. I believe it was due to some recent refactoring of the base form classes.

@jeremystretch commented on GitHub (Jan 14, 2022): I can't take credit for this actually; Danko Trajkovic on the NetDev Slack spotted it. I believe it was due to some recent refactoring of the base form classes.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5947