{{ html()->label($label. "[$key]")->class('font-semibold text-black dark:text-white') }}
{{isset($required)?html()->span('*')->class('text-danger'):''}}
{{ html()->textarea($name. "[$key]", $model->getTranslation($name,$key))
->placeholder($placeholder??$label. "[$key]")
->required(isset($required)?true:false)
->id(isset($id)?$id:false)
->class(isset($class)? $class:
'w-full rounded border-[1.5px] bg-transparent py-3 px-5 font-medium outline-none mt-2.5
transition focus:border-primary active:border-primary disabled:cursor-default disabled:bg-whiter
dark:border-form-strokedark dark:bg-form-input dark:focus:border-primary' .
(isset($editor) ? ' ckeditor' : '') .
($errors->has($name. "[$key]") ? ' border-red-500' : ' border-stroke'), )
}}
@error($name. "[$key]")
{{ $message }}
@enderror