Use the following code to create a basic inputEx ListField.
Example for the sortable ListField
How to listen to the updated event :
Use buttons :
Use the maxItems and minItems options :