mercredi 18 novembre 2015

Select2 Tagging in EmberJS

i'm developing an app that needs Tags, and i'm using select2. I've searched about this issue and found the following link: http://ift.tt/1O1Yc3D

As far as i know it is a pull to request that adds this funcionality to the ember-select-2 addon.

However i can't seem to get it to work, i have the following code:

{{select-2
  content=tag_list
  optionValuePath="name"
  optionLabelPath="name"
  optionIdPath="name"
  value=selectedTags
  multiple=true
  tags=true
  placeholder="Choose some Tags"
}}

The issue is that i can't add new tags that don't exist on the list being shown at the select2 dropdown.

If there is someone around that can help me i'll be very happy. :)




Aucun commentaire:

Enregistrer un commentaire