Skip to content

Repeating Field Groups#62

Open
nticaric wants to merge 1 commit intofarinspace:masterfrom
nticaric:master
Open

Repeating Field Groups#62
nticaric wants to merge 1 commit intofarinspace:masterfrom
nticaric:master

Conversation

@nticaric
Copy link
Copy Markdown

Repeating field groups are currently wrapped with a div. This is fine, but not if you use table
rows for repeating, so I added a second parameter to the method which lets you overwrite the default div tag. In the loop it would be used as follows

$mb->the_group_open("tr", "tbody"); 

First argument is the element that is looped and the second is the wrapper of this repeating element

@helgatheviking
Copy link
Copy Markdown
Contributor

+1 for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants