Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 401 Bytes

UPGRADE-4.x.md

File metadata and controls

20 lines (16 loc) · 401 Bytes

UPGRADE 4.x

UPGRADE FROM 4.0 to 4.1

Sonata\DoctrineORMAdminBundle\Filter\ModelAutocompleteFilter

The Sonata\DoctrineORMAdminBundle\Filter\ModelAutocompleteFilter filter is deprecated.

Instead of

->add('foo', ModelAutocompleteFilter::class)

use

->add('foo', ModelFilter::class, [
     'field_type' => ModelAutocompleteType::class,
])