setTomSelectBorder method added. see #603
This commit is contained in:
parent
32e3e40cfc
commit
3e176f00b1
1 changed files with 8 additions and 0 deletions
|
|
@ -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 = '',
|
||||
|
|
|
|||
Loading…
Reference in a new issue