#14917: Nullify maxOptions for static select fields

This commit is contained in:
Jeremy Stretch 2024-02-22 15:49:41 -05:00
parent 3ddacf4b88
commit 7e7e5d5eb0
3 changed files with 2 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@ -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,