File tree 2 files changed +4
-2
lines changed 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -177,10 +177,11 @@ An IPv4 or IPv6 network with a mask. Returns a `netaddr.IPNetwork` object. Two a
177
177
178
178
All variables support the following default options:
179
179
180
- * ` label ` - The name of the form field
181
- * ` description ` - A brief description of the field
182
180
* ` default ` - The field's default value
181
+ * ` description ` - A brief description of the field
182
+ * ` label ` - The name of the form field
183
183
* ` required ` - Indicates whether the field is mandatory (default: true)
184
+ * ` widget ` - The class of form widget to use (see the [ Django documentation] ( https://docs.djangoproject.com/en/stable/ref/forms/widgets/ ) )
184
185
185
186
## Example
186
187
Original file line number Diff line number Diff line change 2
2
3
3
## Enhancements
4
4
5
+ * [ #3766 ] ( https://github.com/netbox-community/netbox/issues/3766 ) - Allow custom script authors to specify the form widget for each variable
5
6
* [ #3799 ] ( https://github.com/netbox-community/netbox/issues/3799 ) - Greatly improve performance when ordering device components
6
7
* [ #3986 ] ( https://github.com/netbox-community/netbox/issues/3986 ) - Include position numbers in SVG image when rendering rack elevation
7
8
* [ #4100 ] ( https://github.com/netbox-community/netbox/issues/4100 ) - Add device filter to component list views
You can’t perform that action at this time.
0 commit comments