Infolist not updating when form submitted on the same livewire component
I have a custom page with a form and infolist. The infolist displays data I get back from an API based on the inputted form data.
When I call the submit action, nothing happens. A livewire request gets sent but no update to the
value infolist entry.
If I submit again it shows the previous search's data.
Here is my little test page I created:
Blade:
Is this just a bug that I should report? What do you think?8 Replies
Does it fail to validate? I suspect that will be why, since validate and getState validate the data before allowing actions to run.
Don't believe so, the state does get updated if I dump
<pre>{{ $someData }} </pre> straight into the blade file, which happens after validation. Just not the infolist.That's what I am saying though, if validate fails it will stop the chain returning the error.
So if you dd($this->validate()) what does it say?
Have updated the name to avoid confusing myself

Seems good to me
strange, guess it's a bug
Here's a video of it in action
I realise it also happens when the
$this->validate() isn't there😂