EasyAdminBundle
EasyAdminBundle copied to clipboard
Need fix bug: Toggle switch on/off not working on no-persisted fields
hello need revert commit https://github.com/EasyCorp/EasyAdminBundle/commit/4b6a90dd804b58734ceff3f7e4c73915f8670baa
Example: BooleanField::new('enabled', 'Some field');
if we need disabled on index page, i get BadRequestHttpException - The field "enabled" does not exist or it's configured as disabled, so it can't be modified.
Becouse $field = $entityDto->getFields()->getByProperty($propertyName); $field dosnt have field enabled, how it posible? Please fix it or rewert it