Cannot provide multiple initial values to multiple-select form fields #3845

Closed
opened 2025-12-29 18:31:35 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Jul 8, 2020).

Originally assigned to: @jeremystretch on GitHub.

Environment

  • Python version: 3.6.9
  • NetBox version: 2.8.7

Steps to Reproduce

  1. Create two sites and note their numeric identifiers. (We'll assume they are 1 and 2.)
  2. Go to /extras/config-contexts/add/?sites=1&sites=2
  3. Note the pre-populated site in the form

Expected Behavior

Both sites should be selected in the form field.

Observed Behavior

Only the last site in the list appears. This is true no matter how many values are specified.

Originally created by @jeremystretch on GitHub (Jul 8, 2020). Originally assigned to: @jeremystretch on GitHub. ### Environment * Python version: 3.6.9 * NetBox version: 2.8.7 ### Steps to Reproduce 1. Create two sites and note their numeric identifiers. (We'll assume they are 1 and 2.) 2. Go to `/extras/config-contexts/add/?sites=1&sites=2` 3. Note the pre-populated site in the form ### Expected Behavior Both sites should be selected in the form field. ### Observed Behavior Only the last site in the list appears. This is true no matter how many values are specified.
adam added the type: bugstatus: accepted labels 2025-12-29 18:31:35 +01:00
adam closed this issue 2025-12-29 18:31:35 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3845