We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
I am having issues integrating version 2 with easyadmin (version 1 worked like a charm). Anyone already able to get this to work?
Thanks.
The text was updated successfully, but these errors were encountered:
What seems to be the issue?
Sorry, something went wrong.
With v1 I used to do something like was described in the README:
public function configureFields(string $pageName): iterable { return [TextField::new('answerType')-> setFormType(EnumType::class)-> setFormTypeOptions(['enum_class' => AnswerTypeEnum::class]) ]; }
Similarly, with v2, something like the following does not work out of the box. Especially not with FlagBagEnums
public function configureFields(string $pageName): iterable { return [TextField::new('answerType')-> setFormType(FlagBagType::class)-> setFormTypeOptions(['class' => AnswerTypeEnum::class]) ]; }
No branches or pull requests
Hello,
I am having issues integrating version 2 with easyadmin (version 1 worked like a charm).
Anyone already able to get this to work?
Thanks.
The text was updated successfully, but these errors were encountered: