                         @$value.append "<option value=#{obj.value}>#{obj.name} (#{obj.count})</option>"
                     #@$value.select2().css 'width', 'auto'
 
-
+        getValue: (options) ->
+            (@coerceValue value for value in @$value.val())
 
     App.StringControl = StringControl
     App.NumberControl = NumberControl

            else
                @$exclude.prop 'disabled', true

        getValue: (options) ->
            @$value.val()

        getOperator: (options={}) ->
            operator = @$operator.val()

            # Hide the secondary value by default
            @$value2 = @$('[name=value-2]').hide()

        getValue: (options) ->
            value = @coerceValue @$value.val()
            if /range/.test @getOperator()
                value2 = @coerceValue @$value2.val()
                [value, value2]
            else
                value
