We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fc8f80d + 6bdcea9 commit 3634509Copy full SHA for 3634509
src/Forms/Components/GoogleAutocomplete.php
@@ -79,7 +79,8 @@ public function getChildComponents(): array
79
->searchable()
80
->hint(new HtmlString(Blade::render('<x-filament::loading-indicator class="h5 w-5" wire:loading wire:target="data.google_autocomplete_'.$this->getAutocompleteName().'" />')))
81
->columnSpan($this->getAutocompleteFieldColumnSpan())
82
- ->getSearchResultsUsing(function (string $search): array {
+ ->getSearchResultsUsing(function (string $search, Set $set): array {
83
+ $set($this->getAutocompleteName(), null);
84
$response = $this->getPlaceAutocomplete($search);
85
86
$result = $response->collect();
0 commit comments