Skip to content

Commit 2a9460b

Browse files
author
Chris Cornwell
committed
update docs to include sortOptions key on array form objects
1 parent 7ebab55 commit 2a9460b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1231,8 +1231,9 @@ could be changed using attribute `add`, see example below.
12311231
If you like to have drag and drop reordering of arrays you also need
12321232
[ui-sortable](https://github.com/angular-ui/ui-sortable) and its dependencies
12331233
[jQueryUI](http://jqueryui.com/), see *ui-sortable* documentation for details of
1234-
what parts of jQueryUI that is needed. You can safely ignore these if you don't
1235-
need the reordering.
1234+
what parts of jQueryUI that is needed. You can also pass options to the *ui-sortable* directive
1235+
by including a `sortOptions` key on the form object. Check the *ui-sortable* documentation
1236+
for a complete list of available options. You can safely ignore these if you don't need the reordering.
12361237
12371238
In the form definition you can refer to properties of an array item by the empty
12381239
bracket notation. In the `key` simply end the name of the array with `[]`

0 commit comments

Comments
 (0)