@props([ 'name', 'rows' => [], 'columns' => [], 'addLabel' => 'Tambah baris', ]) {{-- A minimal Alpine repeater. Each column is [key, label, type, placeholder?]. Rows are indexed by position so they post as name[0][key], name[1][key]… --}}
@foreach ($columns as [$key, $label]) @endforeach
{{ $label }}