sproutit / sproutcore-abbot

SproutCore 1.0 Build Tools
http://www.sproutcore.com
78 stars 17 forks source link

SelectFieldView null value causes error #4

Closed lsiden closed 14 years ago

lsiden commented 14 years ago

http://github.com/sproutit/sproutcore/blob/master/frameworks/desktop/views/select_field.js#L183 states that a null value in the options list to a SelectFieldView should generate a place-holder in the rendered list and adjacent code implements this correctly. However, this will cause an exception on line 262 (~ "no method objectAt for nil").

Please apply this patch to correct it: http://gist.github.com/393400

I am posting this here because sproutit/sproutcore does not have an Issues section.

wagenet commented 14 years ago

Already fixed