Browse Source

Merge pull request #1051 from doccano/fix/#942

Clear text in label selector after typing, fix #942
pull/1065/head
Hiroki Nakayama 4 years ago
committed by GitHub
parent
commit
25d6ded08c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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