Closes #19751: Disable occupied Module Bays in form dropdowns #1061

Closed
opened 2026-04-05 20:08:08 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @pheus on 10/15/2025

Fixes: #19751

Implements the occupied‑bay UI behavior without adding a private _occupied field to the API.

Update the module_bay form field to use context with disabled_indicator: 'installed_module' so occupied bays are disabled in dropdowns

Notes

  • Backward compatible; no database or migration changes
  • Keeps the REST surface clean while providing the needed UI parity
*Originally created by @pheus on 10/15/2025* ### Fixes: #19751 Implements the occupied‑bay UI behavior without adding a private `_occupied` field to the API. Update the `module_bay` form field to use context with `disabled_indicator: 'installed_module'` so occupied bays are disabled in dropdowns **Notes** - Backward compatible; no database or migration changes - Keeps the REST surface clean while providing the needed UI parity
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#1061