fix select: null pointer for non-multiple

The default value for the internal list was "undefined" instead of "[]".
It caused a null pointer when trying to convert the model to the
internal list. Fixed by giving the right default value.