What happened?
Description
If a relation field (here: assets) is set to view mode = 'Card grid', this is initially not respected when a new element is added:
Refreshing the page fixes this.
Steps to reproduce
- Create an assets field with View Mode = Card grid
- Add an element
Expected behavior
Show up as card
Actual behavior
Shows up as in 'list'
Craft CMS version
Craft Solo 5.9.5
PHP version
8.4.14
Operating system and version
Linux 5.15.167.4-microsoft-standard-WSL2
Database type and version
MySQL 8.0.40
Image driver and version
Imagick 3.8.0 (ImageMagick 6.9.11-60)
Installed plugins and versions