-
Notifications
You must be signed in to change notification settings - Fork 2
Custom image fields: checkboxes don't get saved #1267
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
Comments
@daun Is the test case that Toutouwai setup consistent with the one that you are using, or can you spot any differences that might account for it? Also, are any field dependencies (show if...) involved? @Toutouwai Thanks for setting up the test case that you did. |
@ryancramerdesign Thanks, Ryan, you pointed me in the right direction. Looks like a show-if dependency is the culprit here. If I remove that, the checkbox field works as expected. Are those kinds of dependencies not supported? They do show and hide correctly on the frontend. |
Duplicate of #1269, closing. |
Short description of the issue
When adding checkboxes as custom image metadata fields, the data doesn't seem to save. Neither in normal page edits nor in Repeater contexts. The data is being transferred as POST data and normal text fields are saving as expected.
Example request data (
video_url
is saved,autoplay
isn't):Example repeater request:
Expected behavior
Checkboxes are saved and the data in the filedata column will be
1
.Actual behavior
Data in the filedata column is
0
.Steps to reproduce the issue
files-images
)Setup/Environment
The text was updated successfully, but these errors were encountered: