@props(['label', 'nolabel', 'id', 'name', 'type', 'value', 'accept', 'placeholder', 'step', 'required']) @php $inputId = $id ?? $name; $inputType = $type ?? 'text'; $inputValue = old($name, $value ?? ''); $accept = isset($accept) ? "accept='{$accept}'": ''; $wire = getWireAttributes($attributes); $step = $inputType == 'number' ? (isset($step) ? "step={$step}": ''): ""; @endphp