Skip to content

Conversation

vesselind
Copy link
Contributor

Q A
Bug fix? yes/no
New feature? no
Issues Fix #1770
License MIT

When a custom autoload field class is created and choices option is passed, an error occurs: Symfony\UX\Autocomplete\Form\ChoiceList\Loader\ExtraLazyChoiceLoader::__construct(): Argument #1 ($decorated) must be of type Symfony\Component\Form\ChoiceList\Loader\ChoiceLoaderInterface, null given.

This should fix the problem, described in #1770.

@carsonbot carsonbot added the Status: Needs Review Needs to be reviewed label Apr 24, 2024
@kbond
Copy link
Member

kbond commented Apr 24, 2024

Thanks for the bug report and fix @vesselind!

@kbond kbond merged commit 25278fd into symfony:2.x Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Review Needs to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Autocomplete] AJAX Autocomplete not working after upgrade to v.2.17 - ExtraLazyChoiceLoader problem
3 participants