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