Skip to content

Commit 1a0ea0a

Browse files
docs usage add 'sortable' option
1 parent 0e9ced7 commit 1a0ea0a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/usage.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ use unclead\multipleinput\MultipleInput;
2424
'allowEmptyList' => false,
2525
'enableGuessTitle' => true,
2626
'min' => 2, // should be at least 2 rows
27-
'addButtonPosition' => MultipleInput::POS_HEADER // show add button in the header
27+
'addButtonPosition' => MultipleInput::POS_HEADER, // show add button in the header
28+
'sortable' => true, // optional. user can change order of rows
2829
])
2930
->label(false);
3031
?>

0 commit comments

Comments
 (0)