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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
8 additions and
0 deletions
-
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() { |
|
|