mirror of
https://github.com/netbox-community/netbox.git
synced 2026-03-14 06:17:03 +01:00
Prevent TomSelect from initializing on <select> elements with a size
This commit is contained in:
2
netbox/project-static/dist/netbox.js
vendored
2
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
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user