-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Node fields not changing when changing node type #326
Comments
Yep, a known issue with the element slide-out editor, and I've spoken with @brandonkelly about this. It's really down to how the field layout elements work, in that if a custom field has changed it's not re-rendered. Because we use a single fieldlayoutelement to render the settings for a particular node type, this isn't being treated as "changed". Instead, the slide-out will look at the fieldlayoutelement, see that it's already there, and use the cached version. To get around this, we'd need to do some significant side-stepping, which I've yet to figure out. |
Just ran into this and came to file an issue. It certainly "feels" broken. Have you had a chance to look into a solution? |
Haven't been able to figure this one out yet, sorry. We'd have to do a whole lot of work and re-inventing the wheel to pull this off. |
Describe the bug
When you switch the node type the fields that are shown aren't updated. You have to close and reopen the sidebar to see the right fields
Steps to reproduce
Craft CMS version
4.3.1
Plugin version
2.0.10
Multi-site?
Yes
Additional context
No response
The text was updated successfully, but these errors were encountered: