Bug: Editor fields not updating when linking between pages inside CMS #4147
Labels
area: extensions/widgets
area: ui/editor/control-pane
good first issue
status: confirmed
type: bug
code to address defects in shipped code
I am using Netlify-CMS to build a readonly site, so I am using custom components which don't allow editing instead of the default ones.
One of those controls is a link to another-page-in-the-app control, which I'm using where one might ordinarily have a relation widget.
Describe the bug
When I follow the link to the linked page, any fields which have the same name as on the previous page are not updated.
To Reproduce
https://cuzkv.csb.app/#/collections/teams/entries/Some%20Team
)Expected behaviour
page is the same as if you have pasted the https://cuzkv.csb.app/#/collections/teams/entries/Some%20Team url into browser
Actual behaviour
The 'Name' field still says "Sentry"
Expected behavior
The 'Name' field says "Some Team"
Applicable Versions:
https://codesandbox.io/s/cuzkv?file=/config.yml
Additional context
This is my custom widget. I wonder if I should be using a react router Link instead of an
a
but I don't know how to do that...The text was updated successfully, but these errors were encountered: