Closed devjk1 closed 3 years ago
Separated the component into two components, search bar & fields. It is possible to use the component with different forms now.
<div class="flex justify-center"> <div class="w-1/2"> @livewire ('addresses::domestic-address-search-bar') <form method="POST" action="{{ route('submit-form') }}" > @csrf @livewire ('addresses::domestic-address-search-bar-fields') <button type="submit">Submit</button> </form> </div> </div>
Separated the component into two components, search bar & fields. It is possible to use the component with different forms now.