netbox/netbox
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
..
account Revert "Closes #13647: Squash all migrations prior to v3.7 (#14853)" 2024-01-22 13:15:43 -05:00
circuits Squash migrations 2024-01-25 12:35:04 -05:00
core Closes #14917: Replace slim-select with tom-select (#15080) 2024-02-08 15:07:04 -05:00
dcim Closes #13283: Add context to dropdown options (#15104) 2024-02-13 16:31:17 -05:00
extras Closes #13283: Add context to dropdown options (#15104) 2024-02-13 16:31:17 -05:00
ipam Closes #13283: Add context to dropdown options (#15104) 2024-02-13 16:31:17 -05:00
media
netbox 12510 Merge Scripts and Reports (#14976) 2024-02-07 12:02:09 -05:00
project-static Closes #13283: Add context to dropdown options (#15104) 2024-02-13 16:31:17 -05:00
reports
scripts
templates Closes #14917: Replace slim-select with tom-select (#15080) 2024-02-08 15:07:04 -05:00
tenancy Merge branch 'develop' into feature 2024-02-05 14:38:26 -05:00
translations Release v3.7.2 2024-02-05 13:56:52 -05:00
users Closes #14917: Replace slim-select with tom-select (#15080) 2024-02-08 15:07:04 -05:00
utilities Closes #13283: Add context to dropdown options (#15104) 2024-02-13 16:31:17 -05:00
virtualization Merge branch 'develop' into feature 2024-02-05 14:38:26 -05:00
vpn Closes #14917: Replace slim-select with tom-select (#15080) 2024-02-08 15:07:04 -05:00
wireless Closes #13283: Add context to dropdown options (#15104) 2024-02-13 16:31:17 -05:00
generate_secret_key.py Change Interpreter in shebang to python3 2023-02-27 14:09:10 -05:00
manage.py