You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
storyblokInstance.on(['input'],(event)=>{// live updates when editingif(event.story._uid===story._uid){setStory(event.story)}})
Here are the outputs before and now:
// Before
projects: [{name: "First Project", ... },{name: "Other Project", ... }]// Now
projects: ["e429d7ff-9368-436e-a3ea-449e4d70361b","ce8c728a-5787-4f24-9f6c-4dadf2b95861"]
So we need a way to catch resolve_relations & possibly resolve_links on input change.
I'm having issues implementing this on my own, and the js-client documentation doesn't mention the functions in question.
Thanks
The text was updated successfully, but these errors were encountered:
Hi, I was super happy to see the migration to hooks and bridge V2.
Makes everything way easier to manage.
I did notice one thing that was previously covered, that now isn't.
Before, we had this snippet handling the relations on input change:
This has not been ported while refactoring:
Here are the outputs before and now:
So we need a way to catch
resolve_relations
& possiblyresolve_links
on input change.I'm having issues implementing this on my own, and the js-client documentation doesn't mention the functions in question.
Thanks
The text was updated successfully, but these errors were encountered: