Skip to content

Commit 24b6b52

Browse files
committed
Added some useful options to the easy autocomplete custom widget
1 parent f6a2e5d commit 24b6b52

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/easy-autocomplete.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,15 @@ function init(Survey) {
4747
data: (question.choices || []).map(function(item) {
4848
return item.getData();
4949
}),
50+
adjustWidth: false,
51+
list: {
52+
sort: {
53+
enabled: true
54+
},
55+
match: {
56+
enabled: true
57+
}
58+
},
5059
placeholder: question.placeholder
5160
};
5261
if (!!question.choicesByUrl) {

0 commit comments

Comments
 (0)