RangeError when trying to replace a word with autocomplete

I believe that autocomplete 6.5.0 introduced a bug–it no longer replaces a word when I pass in the from and to for the word, but has a negative range for the from.

I’ve replicated it here.

1 Like

Thanks for the reproduction demo. This patch should help.


Thank you for the fix!