adjustment
This commit is contained in:
@ -22,7 +22,7 @@ function fillCheckbox(container, type = 'fa-regular', label, tabindex = -1, char
|
||||
);
|
||||
if (label instanceof Element) {
|
||||
container.appendChild(label);
|
||||
} else if (label?.length > 0) {
|
||||
} else if (label != null && String(label).length > 0) {
|
||||
container.appendChild(
|
||||
createElement('span', span => span.innerText = label)
|
||||
);
|
||||
|
Reference in New Issue
Block a user