Skip to content

Fixes issue with closing div for nested list fields#226

Open
jamesinglis wants to merge 1 commit intoraideus:masterfrom
jamesinglis:jamesinglis-patch-1
Open

Fixes issue with closing div for nested list fields#226
jamesinglis wants to merge 1 commit intoraideus:masterfrom
jamesinglis:jamesinglis-patch-1

Conversation

@jamesinglis
Copy link
Copy Markdown

Nested list fields were returning before outputting the closing for the element, causing validation issues and in some cases breaking the DOM. Changing the control structure saves adding another "$output .= '';" before the earlier return statement.

Nested list fields were returning before outputting the closing </div> for the element, causing validation issues and in some cases breaking the DOM. Changing the control structure saves adding another "$output .= '</div>';" before the earlier return statement.
@andrei-gheorghiu
Copy link
Copy Markdown

Found this bug and fixed in my own copy. When came here to create pull-request for it I found it was already fixed by this pull-request.

@Bootsz Could this one be merged? No conflicts with master. It's clearly a bug and it's breaking the form layout.

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