mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-21 19:47:20 -06:00
#14917: Nullify maxOptions for static select fields
This commit is contained in:
parent
3ddacf4b88
commit
7e7e5d5eb0
BIN
netbox/project-static/dist/netbox.js
vendored
BIN
netbox/project-static/dist/netbox.js
vendored
Binary file not shown.
BIN
netbox/project-static/dist/netbox.js.map
vendored
BIN
netbox/project-static/dist/netbox.js.map
vendored
Binary file not shown.
@ -11,6 +11,7 @@ export function initStaticSelects(): void {
|
|||||||
)) {
|
)) {
|
||||||
new TomSelect(select, {
|
new TomSelect(select, {
|
||||||
...config,
|
...config,
|
||||||
|
maxOptions: undefined,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -26,6 +27,7 @@ export function initColorSelects(): void {
|
|||||||
for (const select of getElements<HTMLSelectElement>('select.color-select')) {
|
for (const select of getElements<HTMLSelectElement>('select.color-select')) {
|
||||||
new TomSelect(select, {
|
new TomSelect(select, {
|
||||||
...config,
|
...config,
|
||||||
|
maxOptions: undefined,
|
||||||
render: {
|
render: {
|
||||||
option: renderColor,
|
option: renderColor,
|
||||||
item: renderColor,
|
item: renderColor,
|
||||||
|
Loading…
Reference in New Issue
Block a user