mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-17 04:58:16 -06:00
Prevent TomSelect from initializing on <select> elements with a size
This commit is contained in:
parent
3aadf59b15
commit
eef79d7cbc
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.
@ -7,7 +7,7 @@ import { getElements } from '../util';
|
||||
// Initialize <select> elements with statically-defined options
|
||||
export function initStaticSelects(): void {
|
||||
for (const select of getElements<HTMLSelectElement>(
|
||||
'select:not(.api-select):not(.color-select)',
|
||||
'select:not(.api-select):not(.color-select):not([size])',
|
||||
)) {
|
||||
new TomSelect(select, {
|
||||
...config,
|
||||
|
Loading…
Reference in New Issue
Block a user