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.x to 4.x

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,
])