Skip to content

Commit dcf4868

Browse files
committed
Merge pull request #525 from devSoss/development
update docs to include sortOptions key on array form objects
2 parents ed6af72 + 2a9460b commit dcf4868

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
@@ -1233,8 +1233,9 @@ could be changed using attribute `add`, see example below.
12331233
If you like to have drag and drop reordering of arrays you also need
12341234
[ui-sortable](https://github.com/angular-ui/ui-sortable) and its dependencies
12351235
[jQueryUI](http://jqueryui.com/), see *ui-sortable* documentation for details of
1236-
what parts of jQueryUI that is needed. You can safely ignore these if you don't
1237-
need the reordering.
1236+
what parts of jQueryUI that is needed. You can also pass options to the *ui-sortable* directive
1237+
by including a `sortOptions` key on the form object. Check the *ui-sortable* documentation
1238+
for a complete list of available options. You can safely ignore these if you don't need the reordering.
12381239
12391240
In the form definition you can refer to properties of an array item by the empty
12401241
bracket notation. In the `key` simply end the name of the array with `[]`

0 commit comments

Comments
 (0)