Skip to content
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

Modal UI > Store relation data #31

Closed
mfendeksilverstripe opened this issue Dec 12, 2023 · 3 comments
Closed

Modal UI > Store relation data #31

mfendeksilverstripe opened this issue Dec 12, 2023 · 3 comments

Comments

@mfendeksilverstripe
Copy link
Collaborator

Modal UI > Store relation data

Looks like the update of relation data isn't working at all. The UI indicates everything is fine but I don't see DB record being updated after the save action on both modal UI and then the parent record (content block).

Screenshot 2023-12-13 at 9 58 27 AM

Screenshot 2023-12-13 at 9 58 40 AM

Steps to reproduce

  • edit an item
  • attach an image
  • save via modal UI
  • save content block
  • reload the page
  • image is gone
@maxime-rainville
Copy link
Owner

Duplicate of #32.

That's a known limitation. I don't know how hard or easy it would be to fix. We did manage to get it working on LinkField.

I think part of the issue is that the FormSchema component doesn't like having nested forms in them. To get that working we might need to fix it in core.

@mfendeksilverstripe
Copy link
Collaborator Author

Attempted fix #35

@mfendeksilverstripe
Copy link
Collaborator Author

Related PR merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants