diff --git a/netbox/project-static/dist/netbox.js b/netbox/project-static/dist/netbox.js index ae313c9db..39fa5b527 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 e8cf6139c..12186fbbd 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 fe7c218a3..dc9525c9c 100644 --- a/netbox/project-static/src/select/api/apiSelect.ts +++ b/netbox/project-static/src/select/api/apiSelect.ts @@ -22,13 +22,6 @@ import type { Stringifiable } from 'query-string'; import type { Option } from 'slim-select/dist/data'; import type { Trigger, PathFilter, ApplyMethod, QueryFilter } from './types'; -// Empty placeholder option. -const PLACEHOLDER = { - value: '', - text: '', - placeholder: true, -} as Option; - // Attributes which if truthy should render the option disabled. const DISABLED_ATTRIBUTES = ['occupied'] as string[]; @@ -52,6 +45,8 @@ export class APISelect { */ public readonly placeholder: string; + public readonly emptyOption: Nullable