@props([ 'name' => 'catatan', 'id' => null, 'rows' => 4, 'placeholder' => 'Tulis catatan...', 'value' => '', 'required' => false, 'class' => '', 'error' => null ]) @php $editorId = $id ?? 'catatan-editor-' . uniqid(); $inputId = $editorId . '-input'; // Calculate height based on rows (approx 24px per row) $editorHeight = ($rows * 24) + 20; @endphp