So i'm using livewire and alpine.js, I am trying to stop the client from contacting the server so much when filling in input boxes (i already know you can use methonds like .lazy to wait for x amount of time), i have tried to use alpine.js but even then it will update the server for every keystroke, is there a way to prevent this so it will only do it forum submit? thanks
<div x-data>
<form x-on:submit.prevent="$wire.post()">
<label for="title">Post Title</label>
<input id="title" type="text" class="form-control" x-model="$wire.title" />
<label for="content">Post Content</label>
<textarea id="content" class="form-control" rows="4" x-model="$wire.content" required></textarea>
<button class="btn btn-primary" type="submit">Post</button>
</form>