Conversation
Deleted cropping and draggable (no vue 3 version) Deleted laravel-nova dependency Updated webpack.mix.js Production build
|
This awesome pr works when viewing a resource. When editing a resource I'm now getting this: This error is preventing any fields from loading on the edit screen. Step to to reproduce:
|
|
@profd2004 just tested it. Make sure that you have correct Nova installation |
|
I have v4.2.1 (Silver Surfer). |
|
@profd2004 can you show me your Images field code? |
use Ebess\AdvancedNovaMediaLibrary\Fields\Images;
public function fields(Request $request)
{
return [
....
new Panel('Media', self::mediaFields()),
]
}
....
public static function mediaFields(): array
{
return [
...
Images::make(__('Hero'), 'hero')
->enableExistingMedia(),
];
} |
|
@profd2004 sorry was unable to check feature for existing media. Try to use it without it |
|
@oleghalin FYI: I've been working during the weekend on a nova4 update as well: see #317 I managed to find alternatives for cropping and draggable libs, and also @profd2004 I got the existing media modal to work as well. |
|
Closing this in favor of #317 |
Vue 3 compatibility for components
Deleted cropping and draggable (no vue 3 version)
Deleted laravel-nova dependency
Updated webpack.mix.js
Production build