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

resolveData is not called when a component is placed in the editor #511

Closed
etimberg opened this issue Jun 18, 2024 · 2 comments · Fixed by #557
Closed

resolveData is not called when a component is placed in the editor #511

etimberg opened this issue Jun 18, 2024 · 2 comments · Fixed by #557

Comments

@etimberg
Copy link

Background

  • Puck version: 0.15.0

Current Behaviour

I have a component that loads data via resolveData. When this component is placed into the editor, no data is loaded. I have breakpointed resolveData and I can see that it is not called. My understanding of the editor was that this should happen automatically.

Expected Behaviour

When a component that has resolveData defined is placed into a page, resolveData should be called on the new component.

@chrisvxd
Copy link
Member

Thanks for the report and sorry for the delay. I'll investigate this and see if I can reproduce.

@azharuddin-mulla-amla
Copy link

@chrisvxd we also facing same issue.

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

Successfully merging a pull request may close this issue.

3 participants