Skip to content

Commit 50ae8d1

Browse files
Update AutocompleteChoiceTypeExtension.php
1 parent b763bf2 commit 50ae8d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Autocomplete/src/Form/AutocompleteChoiceTypeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function finishView(FormView $view, FormInterface $form, array $options):
8585
$attr['data-'.$controllerName.'-'.$name.'-value'] = $value;
8686
}
8787

88-
$view->vars['autocomplete'] = true;
88+
$view->vars['uses_autocomplete'] = true;
8989
$view->vars['attr'] = $attr;
9090
}
9191

0 commit comments

Comments
 (0)