       if @$('.skiplogic__responseval-wrapper').length > 0
         @$('.skiplogic__responseval-wrapper').replaceWith(@response_value_view.el)
       else
-        @$response_value.replaceWith(@response_value_view.el)
-
-      @$response_value = @$('.skiplogic__responseval')
+        @response_value_view.attach_to(@$el)
+
+      @$response_value = @$('select.skiplogic__responseval')
 
       @bind_response_value()
 


      @

    constructor: (@responses) ->
      super()



      @

    attach_to: (target) ->
      target.find('.skiplogic__expressionselect').remove()
      super(target)

      @$el.select2({ minimumResultsForSearch: -1 })

    constructor: (@operators) ->
      super()

