Bug description
If an asset field is set to "Read only" but hasn't an asset selected, the field only shows title and description. There is no visual indicator that this is an asset field without a selected asset.
This is probably a rare case. For example, I use "Read-only" fields on very small sites where I only allow clients to edit a few fields. However, I also fill in other fields with content before setting them to "Read only" and handing over the site. This would only happen if I forgot to select an asset at all.
Please excuse the many issues regarding the read-only fields. But I thought it would be better to list them individually.
How to reproduce
In the example below, there is only a selected asset in German. In English, I forgot to select one before I set the field to "Read-only".
Logs
Environment
Environment
Laravel Version: 13.4.0
PHP Version: 8.4.19
Composer Version: 2.9.5
Environment: local
Debug Mode: ENABLED
Maintenance Mode: OFF
Timezone: UTC
Locale: de_CH
Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED
Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: smtp
Queue: sync
Session: file
Storage
public/storage: NOT LINKED
Statamic
Addons: 2
Sites: 2 (Deutsch, English)
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.13.0 PRO
Statamic Addons
reachweb/statamic-easy-forms: 2.0.1
statamic/seo-pro: 7.5.0
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
Bug description
If an asset field is set to "Read only" but hasn't an asset selected, the field only shows title and description. There is no visual indicator that this is an asset field without a selected asset.
This is probably a rare case. For example, I use "Read-only" fields on very small sites where I only allow clients to edit a few fields. However, I also fill in other fields with content before setting them to "Read only" and handing over the site. This would only happen if I forgot to select an asset at all.
Please excuse the many issues regarding the read-only fields. But I thought it would be better to list them individually.
How to reproduce
In the example below, there is only a selected asset in German. In English, I forgot to select one before I set the field to "Read-only".
Logs
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
No response