Want to automatically select facets with Algolia

Questions about the articles below Auto-selected facets | Algolia

I tried using this article to automatically select facets, but it didn’t work. Although it looks like an automatic selection (with a check mark), the data displayed was not filtered.

In this article, the presence or absence of the check was changed by rewriting isRefined of items with transformItems, Is it not possible to actually narrow it down with that method only by changing the appearance?

Algolia vue auto select facets There is a solution using API in this article, If there is another way, please let me know.

@y.m.d.20011006 welcome to the community!

Would you be able to share a minimal reproduction of your project in Code Sandbox or similar? I ran through it myself and didn’t run into that but it could just be a small issue locally.

Happy to help further, let us know! Thanks!