mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
15 lines
579 B
PHP
15 lines
579 B
PHP
<x-input-wrapper :name="$name" :id="$id" :unique_id="$unique_id" :label="$label">
|
|
<textarea {{ $attributes->merge([
|
|
'type' => isset($type) ? $type : 'text',
|
|
'name' => $name,
|
|
'id' => $id,
|
|
'required' => $required,
|
|
'placeholder' => $placeholder,
|
|
'class' => $class,
|
|
'data-parsley-errors-container' => '#'.$unique_id.'-errors'
|
|
]) }}>{{ $value }}</textarea>
|
|
|
|
<x-slot name="before">{{ isset($before) ? $before : null }}</x-slot>
|
|
<x-slot name="after">{{ isset($after) ? $after : null }}</x-slot>
|
|
</x-input-wrapper>
|