@include('back::partials.inputs.int-number', [
'id' => 'codeGenerationLength',
'label' => __(':field', [
'field' => Str::ucfirst(__('validation.custom.code_length')),
]),
'name' => 'code_length',
'required' => true,
'readonly' => true,
'value' => $settings->code_length ?? config('codes.codeLength'),
'model' => null,
'helper' => __('validation.min.numeric', [
'attribute' => __(':field', [
'field' => Str::ucfirst(__('validation.custom.code_length')),
]),
'min' => 1,
]),
'min' => 1,
])