diff --git a/docs/release-notes/version-3.0.md b/docs/release-notes/version-3.0.md index ac2ee021c..e1bb57d72 100644 --- a/docs/release-notes/version-3.0.md +++ b/docs/release-notes/version-3.0.md @@ -8,6 +8,7 @@ * [#7164](https://github.com/netbox-community/netbox/issues/7164) - Fix styling of "decommissioned" label for circuits * [#7169](https://github.com/netbox-community/netbox/issues/7169) - Fix CSV import file upload * [#7176](https://github.com/netbox-community/netbox/issues/7176) - Fix issue where query parameters were duplicated across different forms of the same type +* [#7188](https://github.com/netbox-community/netbox/issues/7188) - Fix issue where select fields with `null_option` did not render or send the null option * [#7193](https://github.com/netbox-community/netbox/issues/7193) - Fix prefix (flat) template issue when viewing child prefixes with prefixes available --- diff --git a/netbox/project-static/dist/netbox.js b/netbox/project-static/dist/netbox.js index 92ffda9de..e4d0f8d8c 100644 Binary files a/netbox/project-static/dist/netbox.js and b/netbox/project-static/dist/netbox.js differ diff --git a/netbox/project-static/dist/netbox.js.map b/netbox/project-static/dist/netbox.js.map index 678ca7255..10b2b5ae5 100644 Binary files a/netbox/project-static/dist/netbox.js.map and b/netbox/project-static/dist/netbox.js.map differ diff --git a/netbox/project-static/src/select/api/apiSelect.ts b/netbox/project-static/src/select/api/apiSelect.ts index 11576c53f..690608113 100644 --- a/netbox/project-static/src/select/api/apiSelect.ts +++ b/netbox/project-static/src/select/api/apiSelect.ts @@ -58,6 +58,12 @@ export class APISelect { */ public readonly emptyOption: Option; + /** + * Null option. When `data-null-option` attribute is a string, the value is used to created an + * option of type `{text: '': 'null'}`. + */ + public readonly nullOption: Nullable