Commit Graph

14 Commits

Author SHA1 Message Date
Jeremy Stretch
1ab8477642 Closes #12988: Introduce custom field choice sets (#13195)
* Initial work on custom field choice sets

* Rename choices to extra_choices (prep for #12194)

* Remove CustomField.choices

* Add & update tests

* Clean up table columns

* Add order_alphanetically boolean for choice sets

* Introduce ArrayColumn for choice lists

* Show dependent custom fields on choice set view

* Update custom fields documentation

* Introduce ArrayWidget for more convenient editing of choices

* Incorporate PR feedback

* Misc cleanup
2023-07-19 10:26:24 -04:00
Abhimanyu Saharan
b47bfdcf08 Adds hide-if-unset to custom field (#12723)
* adds hide-if-unset to custom field #12597

* moved hide logic from template to python

* fix indentation

* Update logic for omit_hidden under get_custom_fields()

* Update docs

* Account for False values

---------

Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-05-30 09:42:37 -04:00
jeremystretch
696bd9b8d8 Cleanup & docs 2023-03-14 15:44:16 -04:00
jeremystretch
c697e2fbe1 Refreshed extras model documentation 2022-08-12 16:00:04 -04:00
jeremystretch
e3e71a20d1 Finish customization docs 2022-08-11 16:14:06 -04:00
jeremystretch
3e77e6520c Restore model documentation for all models under extras 2022-08-11 11:37:07 -04:00
jeremystretch
4b987453fd Reorganize documentation 2022-08-04 14:11:52 -04:00
jeremystretch
6f95a14a0b Documentation cleanup 2022-07-11 17:29:25 -04:00
jeremystretch
c33a406491 Fixes #9687: Don't restrict custom text field lengths when entering via UI form 2022-07-11 11:12:06 -04:00
jeremystretch
c19f590120 Documentation and changelog for #7006 2022-01-06 13:44:21 -05:00
jeremystretch
4e14cf8c75 Fixes #8030: Validate custom field names 2021-12-09 15:19:19 -05:00
jeremystretch
076366108d Closes #7452: Add JSON custom field type 2021-10-28 10:29:14 -04:00
jeremystretch
dac4589587 Closes #6711: Add longtext custom field type with Markdown support 2021-10-14 14:48:00 -04:00
jeremystretch
2d3da3f987 Fixes #7392: Fix "help" links for custom fields, other models 2021-09-29 09:09:10 -04:00