[Bug] address_algolia breaks when it is on the same page twice
See original GitHub issueBug 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.log
ing 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:
- Created 3 years ago
- Comments:7 (6 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.It should be possible. Thanks for the suggestion.
For reference Algolia suggests in their page:
Best, Pedro