Skip to content

Commit 6e47a2b

Browse files
authored
fix: disable indentable to prevent sorting issues (#21)
1 parent 6feea5e commit 6e47a2b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Fields/Repeater.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ public function getForm(): array
126126
->live(debounce: 250)
127127
->labelKey('name')
128128
->maxDepth(0)
129+
->indentable(false)
130+
->reorderable(true)
129131
->addable(fn (string $operation) => $operation !== 'create')
130132
->disabled(fn (string $operation) => $operation === 'create')
131133
->hint(fn (string $operation) => $operation === 'create' ? __('Fields can be added once the field is created.') : '')

0 commit comments

Comments
 (0)