mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-18 11:22:25 -06:00
Closes #4885: Add MultiChoiceVar for custom scripts
This commit is contained in:
@@ -154,6 +154,10 @@ CHOICES = (
|
||||
direction = ChoiceVar(choices=CHOICES)
|
||||
```
|
||||
|
||||
### MultiChoiceVar
|
||||
|
||||
Similar to `ChoiceVar`, but allows for the selection of multiple choices.
|
||||
|
||||
### ObjectVar
|
||||
|
||||
A NetBox object of a particular type, identified by the associated queryset. Most models will utilize the REST API to retrieve available options: Note that any filtering on the queryset in this case has no effect.
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
# NetBox v2.8
|
||||
|
||||
## v2.8.10 (FUTURE)
|
||||
|
||||
### Enhancements
|
||||
|
||||
* [#4885](https://github.com/netbox-community/netbox/issues/4885) - Add MultiChoiceVar for custom scripts
|
||||
|
||||
---
|
||||
|
||||
## v2.8.9 (2020-08-04)
|
||||
|
||||
### Enhancements
|
||||
|
||||
Reference in New Issue
Block a user