Fix dead and miswired props in shared UI/card components (#2827)

This commit is contained in:
Bartosz-Do
2026-08-07 23:53:42 +02:00
committed by GitHub
parent 833e826988
commit 0549900471
7 changed files with 16 additions and 21 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ const selectId = id ? `select-${id}` : undefined;
(window.tabler_select[selectId] = new TomSelect(document.getElementById(selectId), {
copyClassesToDropdown: false,
dropdownParent: 'body',
...(showSearch ? {} : { controlInput: '<input>' }),
...(showSearch === false ? { controlInput: null } : {}),
render: {
item: renderOption,
option: renderOption,