nova-json
nova-json copied to clipboard
Image field inside json field
I am trying to use an image field inside the json field but it seems is not working, any ideas?
here is my code:
Image::make('Image') ->path('entries/'.$this->model()->hash_id) ->acceptedTypes('image/*') ->storeAs(function ($request) { return $request->file('metadata->entries.image')->getClientOriginalName(); }) ->disk(config('filesystems.default')),