@props([
'label' => false,
'type' => 'text',
'name_id',
'value' => '',
'placeholder' => '',
'labelClass' => '',
'small' => false,
'big' => false,
'hidden' => false,
'options' => [], // Dropdown options
'disabled' => false,
])
@if ($label)
@endif
@if ($type === 'select')
@else
$errors->has($name_id),
'px-4 py-2 rounded-lg' => $small,
'px-5 py-4 rounded-xl' => $big,
'hidden' => $hidden,
'opacity-50 cursor-not-allowed bg-gray-100' => $disabled,
])
@if ($disabled) disabled aria-disabled="true" tabindex="-1" @endif>
@endif