@props([ 'name', 'label', 'type' => 'text', 'value' => null, 'required' => false, 'col' => 6, 'step' => null, 'placeholder' => null, 'list' => null, 'money' => false, 'hint' => null, 'min' => null, 'max' => null, 'maxlength' => null, 'pattern' => null, 'patternMessage' => null, 'inputmode' => null, 'transform' => null, ]) @php $id = $attributes->get('id', $name); $val = old($name, $value); $hasError = $errors->has($name); @endphp
@if ($money)
{{ config('erp.currency') }}@endif except(['id']) }}> @if ($money)
@endif @if ($hint)
{{ $hint }}
@endif
{{ $errors->first($name) }}