Merge "[search] Don't destroy #p-search element"
This commit is contained in:
commit
2acf0694c9
|
@ -1,5 +1,4 @@
|
|||
<template>
|
||||
<div id="p-search">
|
||||
<wvui-typeahead-search
|
||||
id="searchform"
|
||||
ref="searchForm"
|
||||
|
@ -30,7 +29,6 @@
|
|||
:value="wprov"
|
||||
>
|
||||
</wvui-typeahead-search>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
|
@ -12,7 +12,7 @@ var
|
|||
function initApp( searchForm, search ) {
|
||||
// eslint-disable-next-line no-new
|
||||
new Vue( {
|
||||
el: '#p-search',
|
||||
el: searchForm,
|
||||
/**
|
||||
*
|
||||
* @param {Function} createElement
|
||||
|
|
Loading…
Reference in New Issue