We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f70817 commit f6a2e5dCopy full SHA for f6a2e5d
src/easy-autocomplete.js
@@ -44,7 +44,9 @@ function init(Survey) {
44
afterRender: function(question, el) {
45
var $el = $(el).is("input") ? $(el) : $(el).find("input");
46
var options = {
47
- data: question.choices,
+ data: (question.choices || []).map(function(item) {
48
+ return item.getData();
49
+ }),
50
placeholder: question.placeholder
51
};
52
if (!!question.choicesByUrl) {
0 commit comments