Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…e parent $loader is null (vesselind) This PR was merged into the 2.x branch. Discussion ---------- #1770 [Autocomplete] Ignore the ExtraLazyChoiceLoader if the parent $loader is null | 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. Commits ------- 28af7fc #1770 ignore the ExtraLazyChoiceLoader if the parent $loader is null
- Loading branch information