Skip to content

Fix twig regex for collection field (related to #6364)#6372

Merged
javiereguiluz merged 1 commit intoEasyCorp:4.xfrom
GuillaumeRoques:fix-collection-twig-regex
Jul 18, 2024
Merged

Fix twig regex for collection field (related to #6364)#6372
javiereguiluz merged 1 commit intoEasyCorp:4.xfrom
GuillaumeRoques:fix-collection-twig-regex

Conversation

@GuillaumeRoques
Copy link
Copy Markdown
Contributor

The twig regex need to have double backslash, without this fix the data-num-items is always set to 1.
Fix #6369

Signed-off-by: Guillaume Roques <guillaume.roques@gmail.com>
@javiereguiluz javiereguiluz added this to the 4.x milestone Jul 18, 2024
@javiereguiluz
Copy link
Copy Markdown
Collaborator

Good catch, thanks Guillaume.

@javiereguiluz javiereguiluz merged commit 617219b into EasyCorp:4.x Jul 18, 2024
@GuillaumeRoques GuillaumeRoques deleted the fix-collection-twig-regex branch July 19, 2024 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Collection: Adding new items does not set correct item index

3 participants