decimal custom field - 'is empty' filter causes warning when going back to filter page #161

Closed
opened 2026-04-05 16:22:31 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @ITJamie on 3/12/2026

NetBox Edition

NetBox Community

NetBox Version

v4.5.4

Python Version

3.12

Steps to Reproduce

  1. create a custom field (decimal type, name decimal_test) and assign to an object type
  2. goto that object type's list view
  3. goto filters tab
  4. set the filter option on the custom field to "is empty"
  5. press search button
  6. goto filters tab again

Expected Behavior

filter config should be still considered valid

Observed Behavior

once the filters tab is returned to there is a warning box around the configured filter about needing to supply a number
Image

*Originally created by @ITJamie on 3/12/2026* ### NetBox Edition NetBox Community ### NetBox Version v4.5.4 ### Python Version 3.12 ### Steps to Reproduce 1. create a custom field (decimal type, name decimal_test) and assign to an object type 2. goto that object type's list view 3. goto filters tab 4. set the filter option on the custom field to "is empty" 5. press search button 6. goto filters tab again ### Expected Behavior filter config should be still considered valid ### Observed Behavior once the filters tab is returned to there is a warning box around the configured filter about needing to supply a number <img width="1270" height="304" alt="Image" src="https://github.com/user-attachments/assets/b85a10a4-5e04-4d5e-a165-88c50ee1dc73" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#161