You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you confirm the code property in your entity is an array?
Because when I try your code, I have this error:
EasyCorp\Bundle\EasyAdminBundle\Field\Configurator\LanguageConfigurator::getLanguageName(): Argument #1 ($languageCode) must be of type string, array given, called in \vendor\easycorp\easyadmin-bundle\src\Field\Configurator\LanguageConfigurator.php on line 46
Oh, yes, you're right. I hadn't tried changing the property type to an array. Now, I'm getting the same error as well. Sorry, my bad; I didn't check properly.
Describe the bug
LanguageField
doesn't supportallowMultipleChoices
even when trying to enforce it with the native option:This results in an exception.
(OPTIONAL) Additional context
CountryField
is very similar toLanguageField
and supports the multiple option.The text was updated successfully, but these errors were encountered: