@props([ 'id' => null, 'required' => false, 'readonly' => false, 'label' => null, 'type' => 'text', 'class' => '', 'instantSave' => false, 'disabled' => false, 'hidden' => false, ]) @if ($type === 'checkbox') @error($id) {{ $message }} @enderror @else @if ($type === 'textarea') @else @endif @error($id)