Auto generated field value from sibling field hooks not updating the field value on the admin UI, need refresh page #9988
Unanswered
dollarplanet
asked this question in
Q&A
Replies: 1 comment
-
could you find a solution for this that doesn't rely on a custom fiel d? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Just like the title says, I have created a "before Change" hook to generate sibling field values. The values are successfully saved to the database but it requires a page refresh to see the latest sibling field values in the admin UI.
Is it possible to force the admin UI to get the latest data via field hooks? I was thinking about revalidatePath or something similar.
This is my beforeChange hooks look like
Beta Was this translation helpful? Give feedback.
All reactions