Skip to content

[5.x]: 5.3.6 - Adding a second matrix entry even when locked to maximum 1 #15641

@pnpaes

Description

@pnpaes

What happened?

I create a matrix field with a proper entry type.
I limited that Matrix field to have maximum 1 entry.
I added the matrix field (hero) to my homepage entry.
Entered the homepage and clicked to add a new Hero.
Started to edit but closed the hero editor. Clicked add hero again and a fresh Hero editor opened.
I finlized edititing and saved the hero. it showed up in the home.
but when I refreshed the other one that I started and closed also showed up.

Uploading Screen Recording 2024-09-02 at 2.29.39 PM.mov…

Craft CMS version

5.3.6

PHP version

8.3.3

Operating system and version

Linux 6.6.32-linuxkit

Database type and version

MariaDB 10.7.8

Image driver and version

Imagick 3.7.0 (ImageMagick 6.9.11-60)

Installed plugins and versions

CKEditor 4.2.0
Image Resizer 4.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions