Skip to content

Commit

Permalink
fix(ltFilesSelector): @submit.stop.prevent
Browse files Browse the repository at this point in the history
  • Loading branch information
simon04 committed Aug 9, 2024
1 parent 3ddf346 commit 1d09674
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/components/ltFilesSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</button>
</li>
</ul>
<form v-show="$tab === Tab.USER" name="formUser">
<form v-show="$tab === Tab.USER" @submit.stop.prevent="nextForCategory()">
<div class="mb-4">
<label for="inputUser">{{ t('User') }}</label>
<input id="inputUser" v-model="user" class="form-control" placeholder="User:" />
Expand Down Expand Up @@ -78,7 +78,7 @@
<input class="invisible" type="submit" :disabled="!user" />
</div>
</form>
<form v-show="$tab === Tab.CATEGORY" name="formCategory">
<form v-show="$tab === Tab.CATEGORY" @submit.stop.prevent="nextForCategory()">
<div class="row">
<div class="mb-4 col-lg-10">
<label for="inputCategory">{{ t('Category') }}</label>
Expand Down Expand Up @@ -131,7 +131,7 @@
<option v-for="i in categorySuggestions" :key="i" :value="i"></option>
</datalist>
</form>
<form v-show="$tab === Tab.FILES" name="formTitles">
<form v-show="$tab === Tab.FILES" @submit.stop.prevent="nextForCategory()">
<div class="mb-4">
<label for="inputTitles">{{ t('File list') }}</label>
<textarea
Expand Down

0 comments on commit 1d09674

Please sign in to comment.