mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
#14917: Nullify maxOptions for static select fields
This commit is contained in:
8
netbox/project-static/dist/netbox.js
vendored
8
netbox/project-static/dist/netbox.js
vendored
File diff suppressed because one or more lines are too long
2
netbox/project-static/dist/netbox.js.map
vendored
2
netbox/project-static/dist/netbox.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -11,6 +11,7 @@ export function initStaticSelects(): void {
|
||||
)) {
|
||||
new TomSelect(select, {
|
||||
...config,
|
||||
maxOptions: undefined,
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -26,6 +27,7 @@ export function initColorSelects(): void {
|
||||
for (const select of getElements<HTMLSelectElement>('select.color-select')) {
|
||||
new TomSelect(select, {
|
||||
...config,
|
||||
maxOptions: undefined,
|
||||
render: {
|
||||
option: renderColor,
|
||||
item: renderColor,
|
||||
|
Reference in New Issue
Block a user