preview option is added to dropzone

This commit is contained in:
Sevan Nerse
2021-01-29 17:25:28 +03:00
parent 2cd0e6b483
commit c1f4316cb9
2 changed files with 13 additions and 3 deletions

View File

@ -20,6 +20,10 @@
:options={{ json_encode($attributes['options']) }}
@endif
@if (!empty($attributes['preview']))
:preview={{ json_encode($attributes['preview']) }}
@endif
@if (!empty($attributes['multiple']))
multiple
@endif