{{ Form::label('name', __('messages.item.name').':', ['class' => 'form-label']) }}
{{ Form::text('name', null, ['id'=>'name','class' => 'form-control', 'required']) }}
{{ Form::label('item_category_id', __('messages.item.item_category').':', ['class' => 'form-label']) }}
{{ Form::select('item_category_id', $itemCategories, null, ['class' => 'form-select', 'required', 'id' => 'itemCategory', 'data-control' => 'select2', 'placeholder' => __('messages.item.select_item_category')]) }}
{{ Form::label('unit', __('messages.item.unit').':', ['class' => 'form-label']) }}
{{ Form::text('unit', null, ['id'=>'unit','class' => 'form-control', 'required', 'onkeyup' => 'if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,"")', 'maxlength' => '4','minlength' => '1']) }}
{{ Form::label('description', __('messages.item.description').':', ['class' => 'form-label ']) }}
{{ Form::textarea('description', null, ['class' => 'form-control', 'rows' => 4]) }}
{{ Form::submit(__('messages.common.save'), ['class' => 'btn btn-primary', 'id' => 'btnSave']) }}
{{ __('messages.common.cancel') }}