-
-
Notifications
You must be signed in to change notification settings - Fork 324
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
The option "extra_options" does not exist. #1541
Comments
The extra_options exists in 2.15.0, but it is available for form types extending from: return [
ChoiceType::class,
TextType::class,
]; What does your |
I am getting the error, too.
The relevant parts of KundendatenAutocompleteField:
Using |
For autocomplete since 2.13 you need instead of https://symfony.com/bundles/ux-autocomplete/current/index.html#usage-in-a-form-with-ajax |
@bdujon - brilliant! 😄 It is working now. Thank you! I wonder that maybe it would be worth to add it as a comment in For example:
Add somethig like: Change getParent() acordingly if using with Ajax. |
Hi
I'm now upgrading my Symfony 6.3 application to 6.4 and I've also updated
symfony/ux-autocomplete
to the 2.15.0 version.Now each time I'm trying to use my autocomplete field I'm getting error:
An error has occurred resolving the options of the form "App\Form\Autocomplete\MemberSingleAutocompleteField": The option "extra_options" does not exist. Defined options are: "action", "allow_extra_fields", ....
I've noticed that this extra_options was introduced in #1322.
Should I stick to 2.14 version in order to use it with 6.4 Symfony?
The text was updated successfully, but these errors were encountered: