Skip to content

matrix field amends#14915

Merged
brandonkelly merged 6 commits into5.xfrom
bugfix/14904-matrix-with-static-entries
May 1, 2024
Merged

matrix field amends#14915
brandonkelly merged 6 commits into5.xfrom
bugfix/14904-matrix-with-static-entries

Conversation

@i-just
Copy link
Copy Markdown
Contributor

@i-just i-just commented May 1, 2024

Description

Fixed the following bugs for a matrix field with min and max entries set to 1:

  • fixed a bug where the information on whether the field has staticElements wasn’t passed to the MatrixController::actionCreateEntry() causing the static “block” to have the “Delete” action
  • fixed a bug where an error was thrown if you were creating a nested entry in a matrix field (in cards or element index view mode) and you clicked the “Create entry” button before the autosave kicked in.
  • fixed a bug where if the matrix was in the cards view mode, the actions button wasn’t working when the nested element was first added (due to reliance on the deletable attribute check)

Related issues

#14904

@i-just i-just requested a review from brandonkelly May 1, 2024 10:36
@brandonkelly brandonkelly merged commit 4701136 into 5.x May 1, 2024
@brandonkelly brandonkelly deleted the bugfix/14904-matrix-with-static-entries branch May 1, 2024 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants