options should be passed as a property

This commit is contained in:
Sevan Nerse 2021-01-17 12:44:23 +03:00
parent 5f0a7d3ecc
commit c5fd225057

View File

@ -13,7 +13,7 @@
class="{{ $attributes['dropzone-class'] }}"
@endif
@if (!empty($attributes['options']))
options={{ json_encode($attributes['options']) }}
:options={{ json_encode($attributes['options']) }}
@endif
@if (!empty($attributes['multiple']))
multiple