cms
cms copied to clipboard
[4.x]: Changing between entry types doesn't update the fields
What happened?
Description
Changing between entry types in the backend ("Create an entry" view) doesn't update the view (fields).
Steps to reproduce
- Create a section with multiple entry types, attach different fields to each entry type
- Create a new entry for that section & change the entry type in the right side panel
Expected behavior
You would expect to see other fields when changing the entry type.
Actual behavior
It looks like the view isn't updating and keep showing the fields from the first entry type.
Craft CMS version
4.1.0.2
PHP version
8
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
Are you disabling the autosaveDrafts
config setting in config/general.php
? If so that’s your issue. The setting is not really needed in Craft 4 thanks to several performance improvements around draft/revision creation, and prevents entry type switching and Live Preview from working properly, so it has been deprecated and will be fully removed in Craft 5.
I was having the same issue. Disabling the "Field Manager" plugin was my solution.
This is no longer an open issue for me. I'm not sure exactly what resolved it, but the issue resolved itself after disabling and re-enabling a couple plugins ("Field Manager" and "Control Panel Nav").
Thanks @nateclonch. That sounds promising. I’ll go ahead and close for the time being. @ThinkGraphical if you have any more info you can provide, feel free to reply.