nova-issues
nova-issues copied to clipboard
Cannot delete a image from Repeater Field when its preset format is JSON
- Laravel Version: 10.48.20
- Nova Version: 4.35.1
- PHP Version: 8.2.20
- Database Driver & Version: Mysql8
- Operating System: linux
- Browser type: chrome
Description:
I have a repeater field which includes a Image field. The preset of this repeater field is JSON. When i try to delete a image from CMS, it shows me a 404 error.
Detailed steps to reproduce the issue on a fresh Nova installation:
Here is my Nova resource codes
// Resource code
Repeater::make('Profile')->repeatables([
UserProfile::make(),
])->asJson(),
Here is my repeatable codes
// Repeatable code
public function fields(NovaRequest $request)
{
return [
Image::make('Avatar'),
];
}