@props(['id', 'placeholder', 'action', 'method', 'role']) @php $id = $id ?? md5('search' . rand(1, 1000)); $placeholder = $placeholder ?? 'Buscar...'; $action = $action ?? '#'; $method = $method ?? 'GET'; $role = $role ?? 'search'; $label = $placeholder ?? 'Buscar'; @endphp
@push('scripts') @endpush