     afterRender: =>
 
         slug = @model.get 'slug'
-        values = @model.get 'fieldValues' or {}
+        @values ?= @model.get('fieldValuesSet') or [{}]
         errorMessage = @model.get 'importErrorMessage'
 
         @$el.addClass "konnector-#{slug}"


        @model.set 'importErrorMessage', errorMessage
        @showErrors errorMessage


    # Add a change listener to update the "open folder" link each time
    # the selected folder changes.
    configureFolderInput: (slug, name, index) ->
        input = @$("##{slug}-#{name}#{index}-input")
        input.change ->
            id = input.val()
            folderButton = input.parent().parent().find(".folder-link")
