netbox/docs/customization
Jeremy Stretch 20824ceb25
Closes #13283: Add context to dropdown options (#15104)
* Initial work on #13283

* Enable passing TomSelect HTML template attibutes on DynamicModelChoiceField

* Merge disabled_indicator into option_attrs

* Add support for annotating a numeric count on dropdown options

* Annotate parent object on relevant fields

* Improve rendering of color options

* Improve rendering of color options

* Rename option_attrs to context

* Expose option context on ObjectVar for custom scripts

* Document dropdown context variables
2024-02-13 16:31:17 -05:00
..
custom-fields.md Closes #13299: Improve options for controlling custom field visibility (#14289) 2023-11-20 13:06:34 -05:00
custom-links.md Update examples to reflect obj rename to object 2023-05-02 08:31:33 -04:00
custom-scripts.md Closes #13283: Add context to dropdown options (#15104) 2024-02-13 16:31:17 -05:00
custom-validation.md Initial work on #10244: Protection rules (#14097) 2023-10-30 14:36:56 -04:00
export-templates.md Finish customization docs 2022-08-11 16:14:06 -04:00
reports.md 12510 Merge Scripts and Reports (#14976) 2024-02-07 12:02:09 -05:00