setTomSelectBorder method added. see #603

This commit is contained in:
Mic 2026-02-03 01:13:00 +01:00
parent 32e3e40cfc
commit 3e176f00b1

View file

@ -523,6 +523,14 @@ export async function transformTagsLabels(labels, tags_list) {
return output; return output;
} }
export function setTomSelectBorder(el){
if (el.getValue() === "") {
el.control.style.border = '2px solid red';
} else {
el.control.style.border = '1px solid #d0d0d0';
}
}
export function getAPIsInitMessageString(args = {}) { export function getAPIsInitMessageString(args = {}) {
const { const {
api_string = '', api_string = '',