montagejs/native — pull request #5 by thibaultzanini (2014-05-01 15:15:36+00:00)
Title: Quick fix when changing the content of a select component by an empty array

If I change the content of a select component (which one is already set) by an empty array I get the following error: Cannot read property 'value' of undefined.

http://montagejs.github.io/mfiddle/#!/11405754

But I'm not sure it's the best way to fix it, because if there is some selected indexes, that should say there is some content...