Skip to content

Commit

Permalink
Remove 'required' from upload field that fails to recognize drag-drop
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Sep 2, 2020
1 parent d219f65 commit 288164e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/views/Import.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<hr />

<b-field label="CSV or ZIP file" label-position="on-border">
<b-upload v-model="form.file" drag-drop expanded required>
<b-upload v-model="form.file" drag-drop expanded>
<div class="has-text-centered section">
<p>
<b-icon icon="file-upload-outline" size="is-large"></b-icon>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/Media.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
drag-drop
multiple
accept=".png,.jpg,.jpeg,.gif"
expanded required>
expanded>
<div class="has-text-centered section">
<p>
<b-icon icon="file-upload-outline" size="is-large"></b-icon>
Expand Down

0 comments on commit 288164e

Please sign in to comment.