@props([ 'id', 'placeholder', 'icon', 'name', 'value', 'label', 'req', 'readonly', 'uppercase', 'tooltip', 'tooltipText', ]) @php $id = $id ?? md5('input-text' . rand(1, 1000)); $placeholder = $placeholder ?? 'input'; $icon = $icon ?? 'bi-search'; $name = $name ?? 'search'; $value = $value ?? ''; $label = $label ?? $placeholder; $req = $req ?? 1; $readonly = $readonly ?? false; $uppercase = $uppercase ?? false; $tooltip = $tooltip ?? false; $tooltipText = $tooltipText ?? ''; @endphp