-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
ResolveInput Hook for File field not saving data correctly #2503
Comments
Hi, I encoutered the same problem, turns out that if you use the Hope it helped |
Interesting, I'll give that a try, thanks. Maybe this will prompt an update to the documentation then. |
That's it, see #2508 |
It looks like there hasn't been any activity here in over 6 months. Sorry about that! We've flagged this issue for special attention. It wil be manually reviewed by maintainers, not automatically closed. If you have any additional information please leave us a comment. It really helps! Thank you for you contribution. :) |
Keystone 5 has officially moved into active maintenance mode as we push towards the next major new version Keystone Next, you can find out more information about this transition here. In an effort to sustain the project going forward, we're cleaning up and closing old issues such as this one. If you feel this issue is still relevant for Keystone Next, please let us know. |
Bug report
Describe the bug
When using the
File
field type on a list along with theresolveInput
hook, data isn't being saved correctly, resulting in some fields being blank in the admin ui.To Reproduce
File
field type (using local file in my case)resolveInput
hook to the field as follows:Expected behaviour
The file field should allow the
resolveInput
hook to manipulate (or simply return in this case) theresolvedData
object and save the file correctly and display the file name.Screenshots
System information
The text was updated successfully, but these errors were encountered: