-
-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nested Images are lost on update #35
Comments
Thanks for reporting this, we will take a look at it soon. We'd also accept a PR that fixes this is anyone is up to it. |
I was trying to fix the issue in plugin's code for 3 days but I couldn't do it. Finally I created custom field for Nova with the following changes:
I can share this code and also can create a pull request but I don't think this is the solution of the plugin bug. It adds the patch on the top of current architecture and don't fix the bug. I think the problem from #29 also may be fixed with this approach. |
Latest tests with |
Hi all, I know this issue is resolved and yes it works when Flexible is used on model, but if used with Nova Settings it fails. This is the same issue I believe: It just doesn't work when not in proper context? |
@zeyadaverotech why you don't learn to read? Why you don't try to ask politely? Why you don't try by yourself first? I'm curious if you ever had a positive response on a message like this. Oh, and... I saw what you wrote before you edited your message. We get email notifications, you know? You must be a very frustrated person and I hope you'll get well soon, but in the meantime you should probably try another job because you clearly don't belong here. You're now blocked from all our repositories, congratulations! Bye. |
is the problem still not working on Nova setting V4 !! |
I'm also still facing this issue. On create, images are saved, on update record image field is empty. |
Same problem here. The problem is occurring when I use an Image Field inside A Flexible Field inside the Nova Settings package. If I use in a model, works well. If I save for first time everything works correctly and the images are saved on the disk and in the json field. But If I let empty the Image field with a previous image saved, the field image is removed from the json of the Flexible content, both key and value. Laravel 11 |
If I create a nested layout and the nested field contains an image everything will work on 'save'.
But once I update this record the images in the nested field are lost
Versions:
nova-flexible-content: 0.1.6
Nova : 2.0.3
On Save:
After Update:
The text was updated successfully, but these errors were encountered: