@php $control = !(isset($control)) ? "input" : $control; @endphp @if ($control == "input" || $control == "textarea" || $control == "text") @if (!isset($no_label)) @endif @if ($control == "textarea") @if (!$summernote ?? false) @else @endif @elseif($control == "text")
{{ $value }}
@else has($name) ? " is-invalid" : "" }}" id="{{ $name }}" name="{{ $name }}" placeholder="{{ $placeholder ?? ucfirst($label) . " ..." }}" maxlength="{{ $max ?? "255" }}" minlength="{{ $min ?? "0" }}" min="{{ $minNum ?? 0 }}" max="{{ $maxNum ?? 9999 }}" value="{{ $value ?? "" }}"@isset($autofocus) autofocus @endisset @isset($autocomplete) autocomplete="off" @endisset @isset($readonly) readonly @endif @isset($required) required @endisset /> @endif @if ($errors->has($name)) @error($name)
{{ $message }}
@enderror @endif @else @if(!isset($btn_icon)) @else @endif @endif