alb
1
It would be nice to have a sort function, same signature as Array.sort()
, be a possible option in the autocomplete config object.
The reason I’m interested in this is that we frequently have autocomplete strings that are best displayed in ‘natural’ sort order:
Filenames, for example; you generally want the list to be File1, File2, ...File10
, rather than File1, File10, ...File2
.
I’m aware that we can set filter
to false
, but we do want the filtering.
marijn
2
Does the patch below look like it would cover your use case?
alb
3
Yes, that definitely covers our use case, and appears flexible enough to cover many use cases. Thanks!