Closed LogansUA closed 8 years ago
@LogansUA thank you very much for reporting this error and for your very detailed explanation. It was really easy to spot what was happening :)
Indeed there was a bug about boolean/toggle fields. It has been fixed in #669, so it will be available in the next stable release. Thanks again for your bug report!
@javiereguiluz thank you too for this amazing bundle, finally normal alternative to SonataAdminBundle.
@LogansUA thanks to you, for using it and for reporting issues.
By the way, let's not forget about SonataAdminBundle because EasyAdmin will always reject features for the most complex backends (we target "the 80% easiest backends"). So we need a more advanced alternative, such as Sonata.
Hello.
I'm just installed this awesone bundle, and do some research.
So i found kinda bud. I have configured
User
entity inAppBundle\Entity\User
:(
getExpiresAt()
andgetCredentialsExpireAt()
forFosUserBundle
to accessEdit
andCreate
actions)And configured Bundle:
And here said that by default boolean fields turns in toggle field. But by default i get simple field like that:
I found the solution in #585 issue, by changing the
type:
in configuration totoggle
.Also i use that hack from #585 which proposed @javiereguiluz in
Controller/AdminController.php
on 73 line useIt both way i get
"type" => "boolean"
So i'm not sure that is bug, or just documentation is outdated.
Thank you.
P.S. Sorry for my English :smile: