diff --git a/docs/cookbook/admin_panel/using-autocompletes.md b/docs/cookbook/admin_panel/using-autocompletes.md index ab8473b7..65865149 100644 --- a/docs/cookbook/admin_panel/using-autocompletes.md +++ b/docs/cookbook/admin_panel/using-autocompletes.md @@ -19,7 +19,7 @@ public function getParent(): string ``` - However, if your autocomplete filter requires fetching data from another entity, you will need to use a `BaseEntityAutocompleteType` in order to fetch your options via AJAX. +However, if your autocomplete filter requires fetching data from another entity, you will need to use a `BaseEntityAutocompleteType` in order to fetch your options via AJAX. All you need to start leveraging this functionality is a bit of routing config. @@ -101,10 +101,10 @@ final class SpeakerAutocompleteType extends AbstractType ``` {% endcode %} -Then, you need to create your grid filter. +Then, you need to create your custom grid filter. {% tabs %} -{% tab title="SyliusGridBundle v1.14" %} +{% tab title="AsFilter attribute - SyliusGridBundle v1.14+" %} {% code title="src/Grid/Filter/SpeakerFilter.php" lineNumbers="true" %} ```php