You can have nested lists using the children property.
children
This example works like selecting from a key / value list.