@props([ 'label' => null, 'help' => null, 'error' => null, 'floating' => false, 'id' => null, 'name' => null, 'rows' => 4, 'required' => false, 'disabled' => false, 'placeholder' => null, 'value' => null, ]) @php $textareaClass = collect([ 'textarea', $floating ? 'ui-textarea-floating' : null, $error ? 'input-error' : null, $disabled ? 'input-disabled' : null, ])->filter()->implode(' '); @endphp @if ($floating) @php $floatingTextareaValue = $slot->isNotEmpty() ? trim((string) $slot) : trim((string) $value); @endphp