diff --git a/js/mzta-utils.js b/js/mzta-utils.js index 08106d00..d032c4da 100644 --- a/js/mzta-utils.js +++ b/js/mzta-utils.js @@ -523,6 +523,14 @@ export async function transformTagsLabels(labels, tags_list) { 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 = {}) { const { api_string = '',