Custom script checkboxes render strangely #2873

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

Originally created by @jeremystretch on GitHub (Sep 13, 2019).

Environment

  • Python version: 3.6.8
  • NetBox version: 2.6.3

Steps to Reproduce

  1. Create a custom script with one or more BooleanVars
  2. View the script form

Expected Behavior

BooleanVars should render as checkboxes, similar to the "commit changes" checkbox at the bottom of every script form

Observed Behavior

The form widget renders incorrectly (see below).

netbox_screenshot

Originally created by @jeremystretch on GitHub (Sep 13, 2019). ### Environment * Python version: 3.6.8 * NetBox version: 2.6.3 ### Steps to Reproduce 1. Create a custom script with one or more BooleanVars 2. View the script form <!-- What did you expect to happen? --> ### Expected Behavior BooleanVars should render as checkboxes, similar to the "commit changes" checkbox at the bottom of every script form <!-- What happened instead? --> ### Observed Behavior The form widget renders incorrectly (see below). ![netbox_screenshot](https://user-images.githubusercontent.com/13487278/64875659-8d06b980-d61b-11e9-9552-c88018742ddb.png)
adam added the type: bugstatus: accepted labels 2025-12-29 18:22:58 +01:00
adam closed this issue 2025-12-29 18:22:59 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2873