Liveware inputs not updating state
I’ve a custom form component that is not updating the Livewire state.
On load the data is correctly initialised and the fields populated. If I use the Alpine JS tools and update a value (green highlight) the input updates. If I update the input (yellow highlight) the state doesn’t update.
2 Replies
fixed image
Fixed: I need to use
x-model="state.user.givenName"
not x-bind:value="state.user.givenName"
Not sure where I got bind
from as wrote it months ago!