@props(['action', 'method'=>'POST']) @php $method = strtoupper($method); $formMethod = in_array($method, ['GET', 'POST']) ? $method : 'POST'; @endphp