Skip to content

Max file number selects more assets if uploading new ones #13614

@vitalijalbu

Description

@vitalijalbu

Bug description

I have an asset field that selects MAX 1 asset, but if i uplaod new assets, it automatically attaches the new uplaoded ones (see the video final)

Registrazione.schermo.2026-01-21.alle.15.41.57.mov

How to reproduce

  • create asset selector
  • create entry and save
  • edit etry by uploading new assets
  • you'll see that old asset + new uploded ones are automatically selected and related to the entry

Logs

Environment

Environment
Application Name: Kenta Communication
Laravel Version: 12.47.0
PHP Version: 8.4.17
Composer Version: 2.9.2
Environment: development
Debug Mode: ENABLED
URL: kenta.test/
Maintenance Mode: OFF
Timezone: UTC
Locale: it

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: NOT CACHED

Drivers
Broadcasting: log
Cache: file
Logs: stack / single
Mail: smtp
Queue: sync
Session: file

Storage
public/storage: NOT LINKED

Statamic
Addons: 0
Sites: 1
Stache Watcher: Disabled
Static Caching: Disabled
Version: 5.72.0 Solo

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions