Browse Source

Clear text in label selector after typing, fix #942

pull/1051/head
Hironsan 4 years ago
parent
commit
68bee87fd3
1 changed files with 8 additions and 0 deletions
  1. 8
      frontend/components/organisms/annotation/MultiClassClassification.vue

8
frontend/components/organisms/annotation/MultiClassClassification.vue

@ -7,6 +7,8 @@
hide-selected hide-selected
chips chips
multiple multiple
:search-input.sync="search"
@change="search=''"
> >
<template v-slot:selection="{ attrs, item, select, selected }"> <template v-slot:selection="{ attrs, item, select, selected }">
<v-chip <v-chip
@ -51,6 +53,12 @@ export default {
} }
}, },
data() {
return {
search: ''
}
},
computed: { computed: {
annotatedLabels: { annotatedLabels: {
get() { get() {

Loading…
Cancel
Save