Looks like this ATM, i.e. it will offer completions for the last term if the cursor is at the end of the text field:
(I had a version which would also offer completions for previous terms if the cursor was positioned there, but at least Firefox did not offer those as it always checks for prefixes of the whole input value. This could of course be implemented later by manually handling the completions instead of using a HTML5 datalist.)
Looks like this ATM, i.e. it will offer completions for the last term if the cursor is at the end of the text field:
(I had a version which would also offer completions for previous terms if the cursor was positioned there, but at least Firefox did not offer those as it always checks for prefixes of the whole input value. This could of course be implemented later by manually handling the completions instead of using a HTML5
datalist
.)