Closed michtio closed 1 year ago
@engram-design I created a repo that show the issue here: https://github.com/michtio/hyper-bug using spin-up-craft :)
Thanks, I can't seem to get that to work, as it's error after error for me with that repo, and getting it started! I can also see the database, but it's essentially empty. Did you need to export it?
Anyway, I was able to rebuild the site from the Yaml files. From what I can tell, it's all working correctly. You've just modified the field layout just for the Assets link type, nothing else. Because field layouts are unique to each link type, so you can tailor different fields for different link types, you'll need to make several updates.
For example, if I enable Asset link types, I can see custom fields you've defined.
Thanks @engram-design!
Although it's a bit confusing to have to do that. Is there an easy way to copy field layouts, or could an option "all field layouts per link type is the same".
That would make a lot of sense!
About the repo. It's supposed to be running in the browser with spin-up-craft
from Andrew. Might coordinate why it doesn't work as intended.
Nothing like that available yet, but I’ll add it to our todo list.
Ah, that’s might explain it. I’ll hit Andrew up about it!
Thanks @engram-design. I'll close the issue for now since it's a current none-issue.
Describe the bug
When create a new Matrix Field, and you add the Hyper Field to multiple Matrix blocks, there is an issue with adding custom fields into the field layout. When the fields are added and saved correctly in the Matrix blocks, when going to the entry containing these blocks don't show the custom added fields onto Hyper in the Matrix block types. It shows the standard Field Layout, no matter if you add custom fields or deleted the fields already added.
Steps to reproduce
hyper
)hyper
)As an extra: If you delete the standard fields already added ( e.g. Classes ) and you remove that field, save the block type, you'll see that field appear in the Matrix Block Type, even tho it's not supposed to be there.
Craft CMS version
4.4.7.1
Plugin version
1.1.4
Multi-site?
No
Additional context
Used plugins: