@props([ 'name' => null, 'label' => null, 'type' => 'text', 'id' => null, 'readonly' => false, 'required' => false, 'value' => null, 'step' => null, 'min' => null, 'max' => null, 'placeholder' => null, 'formText' => null, ])
@if ($label) @endif @if ($type === 'textarea') @else @endif @error($name) {{ $message }} @enderror @if ($formText) {{ $formText }} @endif