Skip to content

Commit b763bf2

Browse files
Update src/Autocomplete/src/Form/AutocompleteChoiceTypeExtension.php
Co-authored-by: Ryan Weaver <[email protected]>
1 parent 0c5c7f0 commit b763bf2

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
@@ -42,7 +42,7 @@ public static function getExtendedTypes(): iterable
4242
public function finishView(FormView $view, FormInterface $form, array $options): void
4343
{
4444
if (!$options['autocomplete']) {
45-
$view->vars['autocomplete'] = false;
45+
$view->vars['uses_autocomplete'] = false;
4646

4747
return;
4848
}

0 commit comments

Comments
 (0)