How can I get and set autocomplete plug-in with label

How can I get and set autocomplete plug-in with label

arasaarasa Posts: 11Questions: 3Answers: 0

When I create/edit, the form show me the value, and I want to show the label... How can I do that?. I assume it is very easy but I can't resolve it. Please help

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,489Questions: 1Answers: 10,470 Site admin
    Answer ✓

    Hi,

    Are you using the jQuery UI AutoComplete plug-in for Editor? If so, this appears to be how that library words for some reason. To my own mind that makes more or less no sense whatsoever...

    StackOverflow threads such as this one might provide some help, but my own suggestion would be to use Select2 or Selectize rather than jQuery UI here. They act much more like a traditional Select element - label / value and still provide search / auto complete functionality.

    Allan

  • arasaarasa Posts: 11Questions: 3Answers: 0

    Thanks Allan

This discussion has been closed.