question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] address_algolia breaks when it is on the same page twice

See original GitHub issue

Bug report

What I did

Have two address_algolia type fields on one page

What I expected to happen

Both fields to be fillable and sent correctly to the server

What happened

Only the last entry in the DOM is populated and sent

What I’ve already tried to fix it

console.loging the JS in address_algolia.blade.php confirms this.

Backpack, Laravel, PHP, DB version

When I run php artisan backpack:version the output is:

LARAVEL VERSION:

v8.26.1@275c78c97e007e4a9d771d4d1caa1c77ebfdcf94

BACKPACK VERSION:

4.1.32@1a65e15562989c8fda3d2941da7110ca4008e21e

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
olipaynecommented, Feb 6, 2021

Please consider my issue resolved. For those who visit later, the solution is to not use address_algolia since the service will be deprecated soon.

1reaction
pxpmcommented, Feb 6, 2021

It should be possible. Thanks for the suggestion.

For reference Algolia suggests in their page:

  • Mapbox
  • Google Places
  • Geocode Earth

Best, Pedro

Read more comments on GitHub >

github_iconTop Results From Across the Web

Algolia vue-instantsearch firing same query multiple times
The situation which is happening is that both queries happen at the same moment, and thus the response is not yet received. Since...
Read more >
All Time - Algolia Community
Curious to learn more about the Algolia community? ... Same autocomplete input but more than once on a single page ... Shopify products...
Read more >
Hyde · A Jekyll theme, with instant search - Algolia Community
To address this problem we managed to reduce Algolia binary size from 850KB to 307KB. In this post we share how we did...
Read more >
URL encode Bug in Autocomplete on Magento 2 - Open Q&A
Hi, it looks like there is a bug in autocomplete. When it constructs a hit to a facet that contains a &, the...
Read more >
Grouping results - Algolia
Item Variations, where any item with variations is displayed only once. · Large Records, where you first break up large record into smaller...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found