Skip to content

Fix empty collections error on demo app #862

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Fix empty collections error on demo app #862

wants to merge 2 commits into from

Conversation

luchidalgo
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
Tickets
License MIT

This pull request fix the "empty collection" error on demo app https://ux.symfony.com/live-component/demos/form-collection-type (juste remove the last element of collection and error appear because empty collection don't fallback in condition ComponentWithFormTrait.php:238)

@weaverryan
Copy link
Member

Hey @luchidalgo!

Thanks for this! But I think I beat you to it by just 1 day (which is crazy because this is an old bug!) #857

Let me know if you have any issues or disagreements with that fix. And actually, it's been tweaked a bit more at #866

Cheers and thanks!

@weaverryan weaverryan closed this May 12, 2023
@luchidalgo
Copy link
Contributor Author

Excellent😃👍 Thanks for your work

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