netbox-community / netbox

The premier source of truth powering network automation. Open source under Apache 2. Public demo: https://demo.netbox.dev
http://netboxlabs.com/oss/netbox/
Apache License 2.0
15.35k stars 2.49k forks source link

DateTimePicker Forms not working with HTMX enabled #16365

Open JonasEinfach opened 1 month ago

JonasEinfach commented 1 month ago

Deployment Type

Self-hosted

NetBox Version

v4.0.3

Python Version

3.11

Steps to Reproduce

  1. Create custom field for content type device with custom field type "date & time"
  2. Create new device --> date & time picker widget is showing when you click on the custom field
  3. Enable HTMX in your user preference
  4. Create new device --> date & time picker widget is not showing

Expected Behavior

With HTMX disabled following date time picker widget is showing

image

Observed Behavior

With HTMX enabled the date time picker widget is not showing

image

jeffgdotorg commented 4 weeks ago

Thanks for reporting this problem. I've confirmed the problem in a fresh v4.0.3 instance and assigned it a severity of low since HTMX navigation is currently experimental, but we do mean to move that along so we hope to get around to fixing the bug as soon as team capacity permits. If you're interested in working on it, please let us know and a maintainer will assign it to you.