EasyAdminBundle icon indicating copy to clipboard operation
EasyAdminBundle copied to clipboard

Need fix bug: Toggle switch on/off not working on no-persisted fields

Open ae-gladkikh opened this issue 3 weeks ago • 0 comments

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

ae-gladkikh avatar Jun 20 '24 11:06 ae-gladkikh