     if @el.data('tags')
       @options.tokenSeparators = [',']
       @options.tags = @el.data('tags')
+    if @el.data('data')
+      data = @el.data('data')
+      data = _.map(data, (el) -> {id: el, text: el.toString()} ) if data[0] && !_.isObject(data[0])
+      @options.data = data
     else if @el.data('collection')
       @options.data = @el.data('collection')
     else if @el.data('class')

    if @el.data('add')
      @initCreateChoiceOnce()
      @initCreateChoice()
    @options

  runModal: ->

      placeholder: ' '
      allowClear: true
      escapeMarkup: (m) -> m
    opts.minimumResultsForSearch = 10 unless fv.test || @el.data('add') || @el.data('create-search-choice')
    opts

  initAjaxInput: ->
