 
     # Handle clicking on consumer toggle
     @$el.find('.integration-toggle').on 'toggle', (e, active) =>
-      consumerName = $(e.currentTarget).data('consumer-name')
+      target = $(e.currentTarget)
+      consumerName = target.data('consumer-name')
       if active
         @enabledMappings.push consumerName
+        target.closest('.row').find('input').attr('disabled', false)
       else
         index = @enabledMappings.indexOf consumerName
         if index != -1
           @enabledMappings.splice(index, 1)
+          target.closest('.row').find('input').attr('disabled', true)
 
     @listClickHandlers()
 

    @$el.find("#modal-tabs li").removeClass("ui-corner-top").addClass("ui-corner-left")


    # Copy text across duplicate inputs across consumers
    @$el.find('input.param').bind "keyup paste", ->
      current = $(@)

    @buildValues()

    parameters = {}
    _(@$el.find('input.param:enabled')).each (param) ->
      param = $(param)
      val = param.val()
      if val?
