-
-
Notifications
You must be signed in to change notification settings - Fork 601
Closed
Labels
Description
Bug description
When adding a Bard field from the CP, the default button options (including the Image button) requires an Assets collection to be selected. This is new for v6, in v5 it would just silently not enable the button if the assets container was left empty (AFAIK).
The issue is mostly a UX issue.
- Feels wrong that the default selected buttons requires an additional setting to be set further down.
- The error toast just shows "The given data was invalid". No indication of what's wrong or even to scroll down to look for the validation error.
How to reproduce
- Add a Bard field to a blueprint
- Don't change any of the default field settings, just click "Apply"
- Error
Logs
Environment
Environment
Application Name: Statamic
Laravel Version: 12.47.0
PHP Version: 8.4.15
Composer Version: 2.9.3
Environment: local
Debug Mode: ENABLED
URL: statamic-six.test
Maintenance Mode: OFF
Timezone: UTC
Locale: en
Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED
Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: log
Queue: sync
Session: file
Storage
public/storage: NOT LINKED
Statamic
Addons: 0
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.0.0-beta.3 PROInstallation
Fresh statamic/statamic site via CLI
Additional details
No response