Skip to content

Commit

Permalink
Fix help text in files (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoelhodev authored Mar 24, 2021
1 parent 31f826c commit 7f48496
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/js/field.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions resources/js/components/Gallery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
<label :for="`__media__${field.attribute}`" class="form-file-btn btn btn-default btn-primary" v-text="label"/>
</span>

<help-text v-if="field.type !== 'media'" :show-span="showHelpText" class="mt-2">
{{ field.helpText }}
</help-text>

<p v-if="hasError" class="my-2 text-danger">
{{ firstError }}
</p>
Expand Down

0 comments on commit 7f48496

Please sign in to comment.