Fix form submit and reload
This commit is contained in:
parent
baac16787c
commit
8c39224feb
@ -31,7 +31,7 @@
|
|||||||
<h3>Recherche</h3>
|
<h3>Recherche</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<form id="searchForm">
|
<form id="searchForm" @submit="searchFull" v-on:submit.prevent="onSubmit">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<input type="text" class="form-control" placeholder="Recherche" v-model="q">
|
<input type="text" class="form-control" placeholder="Recherche" v-model="q">
|
||||||
</div>
|
</div>
|
||||||
@ -73,7 +73,7 @@
|
|||||||
<p class="help-block">Cocher pour rechercher les élements contenant tous les mots saisis</p>
|
<p class="help-block">Cocher pour rechercher les élements contenant tous les mots saisis</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button type="button" class="btn btn-primary" @click="searchFull">Rechercher</button>
|
<button type="submit" class="btn btn-primary">Rechercher</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user