added tt-icon select multiple
This commit is contained in:
@@ -50,7 +50,7 @@ Vue.component('tt-icon-select', {
|
||||
return opt ? { icon: opt.icon, title: opt.text } : { text: '1 selected', showCaret: true };
|
||||
} else {
|
||||
// Show count for multiple items
|
||||
return { text: `${count} selected`, showCaret: true };
|
||||
return { text: `${count}/${this.options.length}`, showCaret: true };
|
||||
}
|
||||
} else {
|
||||
// Single selection mode: Find the corresponding option
|
||||
|
||||
Reference in New Issue
Block a user