Bug description
When editing an entry that has one or more tabs of fields, the "unsaved changes" alert shows every time you switch between them, assuming you have changed some content but not yet saved. I assume this is due to the dirty state of the entry, and the fact that the URL changes when you select a tab (the tab id is added as a hash property) so it thinks you are leaving the page.
How to reproduce
- Create a blueprint that has at least two tabs of fields
- When editing an entry, update the contents of a field in one tab, then click to another tab
- The unsaved changes dialog will show
Logs
Environment
Environment
Laravel Version: 12.59.0
PHP Version: 8.4.19
Composer Version: 2.8.10
Environment: local
Debug Mode: ENABLED
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: mysql
Logs: stack / single
Mail: log
Queue: sync
Session: file
Storage
public/storage: NOT LINKED
Statamic
Addons: 1
License Key: Not set
Sites: 2 (Statamic, Statamic 2)
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.19.0 PRO
Statamic Addons
statamic/eloquent-driver: 5.8.0
Statamic Eloquent Driver
Addon Settings: file
Asset Containers: file
Assets: file
Blueprints: file
Collection Trees: eloquent
Collections: eloquent
Entries: eloquent
Fieldsets: file
Form Submissions: file
Forms: file
Global Sets: file
Global Variables: file
Navigation Trees: file
Navigations: file
Revisions: file
Sites: eloquent
Taxonomies: file
Terms: file
Tokens: file
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
Bug description
When editing an entry that has one or more tabs of fields, the "unsaved changes" alert shows every time you switch between them, assuming you have changed some content but not yet saved. I assume this is due to the dirty state of the entry, and the fact that the URL changes when you select a tab (the tab id is added as a hash property) so it thinks you are leaving the page.
How to reproduce
Logs
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
No response