| {{ $label ?? __("validation.attributes.$name") }} |
@if($errors->has($name))
{!! Form::select($name, $options, $value ?? null, ['class' => 'form-control is-invalid', 'data-ajax' => $ajax ?? null]); !!}
@else
{!! Form::select($name, $options, $value ?? null, ['class' => 'form-control', 'data-ajax' => $ajax ?? null]); !!}
@endif
@isset($info)
{{ $info }}
@endisset
@error($name)
{{ $message }}
@enderror
|