Skip to content

[6.x] Replicator with max sets still shows bar to add sets #13398

@robdekort

Description

@robdekort

Bug description

Image

When you have a replicator with max_sets configured and you've reached the limit. You can still hover over the add set target area, see the bar (no plus icon) and you can still click it to add a set and bypass the limit.

How to reproduce

Use a replicator field
Set max_sets
Test the field

Logs

Environment

Environment
Application Name: Statamic Peak Development
Laravel Version: 12.43.1
PHP Version: 8.4.16
Composer Version: 2.9.2
Environment: local
Debug Mode: ENABLED
URL: statamic-peak.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: smtp
Queue: sync
Session: file

Storage
public/storage: NOT LINKED

Statamic
Addons: 4
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.0.0-alpha.20 PRO

Statamic Addons
studio1902/statamic-peak-browser-appearance: dev-statamic-6
studio1902/statamic-peak-commands: dev-statamic-6
studio1902/statamic-peak-seo: dev-statamic-6
studio1902/statamic-peak-tools: dev-statamic-6

Installation

Starter Kit using 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