 
     if @collection?.length > 0
       if @sortOptionsBy?
-        models = @collection.sortBy (model)-> 
+        models = @collection.sortBy (model)=>
           if model.read?
             model.read( @sortOptionsBy )
           else

      else
        models = @collection.models

      for model in models 
        v = model.read?( @valueField ) || model.get(@valueField)
        d = model.read?( @displayField ) || model.get(@displayField)
        selected = "selected" if @selected and v is @selected


    if _.isArray(@collection)
      @collection = data: @collection

    Luca.core.Field::initialize.apply @, arguments

    @input_id ||= _.uniqueId('field')
