Migrate away from wire:model.prevent

This commit is contained in:
Marcus Moore 2024-05-29 12:11:33 -07:00
parent d8a480b2a8
commit 45419586fe
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
<div>
<form role="form" method="POST" action="{{ route('login') }}" autocomplete="false" wire:submit.prevent="submitForm">
<form role="form" method="POST" action="{{ route('login') }}" autocomplete="false" wire:submit="submitForm">
<input type="hidden" name="_token" value="{{ csrf_token() }}" />
<!-- this is a hack to prevent Chrome from trying to autocomplete fields -->

View file

@ -13,7 +13,7 @@
@section('content')
<div><!-- livewire div - do not remove -->
<form class="form-horizontal" role="form" wire:submit.prevent="submit">
<form class="form-horizontal" role="form" wire:submit="submit">
{{csrf_field()}}
<div class="row">