Closed
Description
I followed these steps to create a bug reproducer:
- https://symfony.com/doc/5.x/contributing/code/reproducer.html#reproducing-complex-bugs
- https://symfony.com/bundles/StimulusBundle/current/index.html
- https://symfony.com/bundles/ux-autocomplete/current/index.html
And I got blocked when adding class AnyForm extends AbstractType
: without symfony/form
installed, AbstractType
is not available.
So I had to install symfony/form
, and this may not be obvious for newcomers.
Possible solutions:
- add
composer require symfony/form
in the documentation ofux-autocomplete
- declare that
symfony/ux-autocomplete
depends onsymfony/form
in https://github.com/symfony/ux/blob/2.x/src/Autocomplete/composer.json`