-
Notifications
You must be signed in to change notification settings - Fork 576
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
InlineRepeaters doesn't fill MediaFields in backend panel singleton module #2702
Comments
Support for medias fields in JSON repeater has been released in Twill 3.3.0: #2554 You will need to upgrade if you want to use this. |
Hi @ifox thanks for the reply. Updated to latest version: version 3.4.1. Delete module entry in database. Tried a few commands after the update: The problem persist. Same error: Save in database but after reload the image disappear. |
I see that you are using |
Removing the
|
@ifox , Created new module, implementing the Form Fields using blade directive doesn't work ether https://twillcms.com/guides/json-repeaters.html I will create a new project to compare. But I got no more clues to follow |
Ok, after reinstall the project to reproduce the error. I Discover that for some reason multiple inline repeaters as JSON with images, the images cant be loaded for some reason. My solution is move to models type relationship , using different modules repeaters can be listed in a separate screens |
Description
The module saves correctly in database as json field. But in backend after a page reload the image doesn't display, showing an empty field. After that, new saves store empty values.
Steps to reproduce
Added an InlineRepeater field inside fieldset, then added Medias field inside the repeater.
Expected result
After saving the module from backend, the content store in database. After reload the backend page, the images show in repeater fields
Actual result
After saving the module from backend, the content store in database. After reload the backend page, cant see the images stored in database
Versions
Twill version: 3.0
Laravel version: 11
PHP version: 8.2
Database engine: MySql
The text was updated successfully, but these errors were encountered: