What seems to be the problem:
When submitting a form which is placed inside a conditional template, rather than posting the form and displaying the relevant validation errors the entire page reloads with a question mark appended to the address bar.
Do you have any screenshots or code examples:
<template x-if="modal === 'regModal'">
<form wire:submit.prevent="submit">
<!-- omitted -->
<button type="submit">Submit</button>
</form>
</template>
The modal form hides/shows as expected, it’s just the form submission which doesn’t work correctly.
Update: it appears not only does the form submission no longer work but even wire:model updates, no XHR requests are being sent when typing in the form input fields.
Update 2: I’ve now placed the template tag inside a div tag and this is the root of my livewire component, still experiencing the issue.
Any ideas?