Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Dosmukhanbet's avatar

why livewire refresh full page when property updated

Hi, I have a SearchShop livewire component that shows the store at the entered address. But it refreshes the whole page when the entered data is validated and the property results are updated, so I lose the displayed data. how can I make it so that only part of the component with results are updated?

0 likes
5 replies
tykus's avatar

Your issue is not clear; what is the displayed data if not the results of your query (constrained by the search text)?

Dosmukhanbet's avatar

@tykus Sorry, my bad. The displayed data is actually the search results. The issue is when the page refreshes, I lose the displayed results

Sinnbeck's avatar

Why is it inside a form ? I dont suppose you ever expect to submit it when hitting enter? Just use a div or similar

Snapey's avatar

What is causing the page to be reloaded?

Please or to participate in this conversation.