vs-input.t: emit 'search-change' also on search symbol

This commit is contained in:
Arno Kaimbacher 2021-11-17 16:11:45 +01:00
parent 39d323b619
commit 4f31658799
3 changed files with 3 additions and 3 deletions

View File

@ -5,10 +5,9 @@ import VsResult from "./components/vs-result/vs-result.vue";
import FacetCategory from "./components/face-category/facet-category.vue"; import FacetCategory from "./components/face-category/facet-category.vue";
import { SolrSettings } from "@/models/solr"; import { SolrSettings } from "@/models/solr";
import { DatasetService } from "./services/dataset.service"; import { DatasetService } from "./services/dataset.service";
import { Dataset, Suggestion } from "./models/dataset"; import { Suggestion } from "./models/dataset";
import { SolrResponse, FacetFields, FacetItem, FacetResults } from "./models/headers"; import { SolrResponse, FacetFields, FacetItem, FacetResults } from "./models/headers";
import { ActiveFilterCategories } from "@/models/solr"; import { ActiveFilterCategories } from "@/models/solr";
import { deserialize } from "class-transformer";
@Options({ @Options({
components: { components: {

View File

@ -8,6 +8,7 @@ html, body {
font-size: 0.92rem; font-size: 0.92rem;
} }
.columns{margin: 0;}
/*footer {*/ /*footer {*/
/* !*position: absolute;*!*/ /* !*position: absolute;*!*/

View File

@ -115,7 +115,7 @@ export default class VsInput extends Vue {
// this.$emit("clear"); // this.$emit("clear");
} }
// @Emit("search-change") @Emit("search-change")
search(): string { search(): string {
this.results = []; this.results = [];
// this.$emit("search", this.display) // this.$emit("search", this.display)