@props([

'label' , 'name' , 'value' => '' , // required
'col' => '' , 'required' => null , 'class' => '' ,
'id' => '' , 'type' => 'text' , 'holder' => '' , 'disabled' => false


])




<div class="col-md-{{ $col ? $col : 6 }} mb-3">

    <label>{{ $label }}</label>
    <span class="text-danger">
        {{ $required  ? '' : '*' }}
    </span>

    <input
        type="{{ $type ? $type : 'text'}}"
        name="{{ $name }}"
        id="{{ $id ? $id : $name }}"
        value="{{ old($name , $value) }}"
        class="form-control {{ $class ?? '' }} form_space"
        minlength="2" maxlength="100"
        placeholder="{{ __('dashboard.enter_your', ['attribute'=> $label]) }}"
        {{ $disabled ? 'disabled' : '' }}
        >

    <div class="invalid-feedback"></div>
    @foreach($errors->get($name) as $message)
    <span class="text-danger">
        <small class="errorTxt">{{ $message }}</small>
    </span>
    @endforeach

</div>
