File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public function getChildComponents(): array
6060 {
6161 $ components = [];
6262
63- $ components [] = Forms \Components \Select::make ('google_autocomplete ' )
63+ $ components [] = Forms \Components \Select::make ('google_autocomplete_ ' . $ this -> name )
6464 ->native (false )
6565 ->dehydrated (false )
6666 ->allowHtml ()
@@ -69,7 +69,7 @@ public function getChildComponents(): array
6969 ->searchingMessage (__ ('filament-google-autocomplete-field::filament-google-autocomplete-field.autocomplete.searching.message ' ))
7070 ->searchPrompt (__ ('filament-google-autocomplete-field::filament-google-autocomplete-field.autocomplete.search.prompt ' ))
7171 ->searchable ()
72- ->hint (new HtmlString (Blade::render ('<x-filament::loading-indicator class="h5 w-5" wire:loading wire:target="data.google_autocomplete " /> ' )))
72+ ->hint (new HtmlString (Blade::render ('<x-filament::loading-indicator class="h5 w-5" wire:loading wire:target="data.google_autocomplete_ ' . $ this -> name . ' " /> ' )))
7373 ->columnSpan ($ this ->getAutocompleteFieldColumnSpan ())
7474 ->getSearchResultsUsing (function (string $ search ): array {
7575 $ response = $ this ->getPlaceAutocomplete ($ search );
You can’t perform that action at this time.
0 commit comments