typeahead-standalone
typeahead-standalone copied to clipboard
Input hint breaks with HTMX and AlpineJS
I am trying to implement typeahead in a website with HTMX and AlpineJS. The problem is that the "hint" input is an exact clone of the original input, including all HTMX and AlpineJS attributes. Unfortunately, this doesn't really work and breaks typeaheads functionality (x-model on the input get copied and prevents typeahead from setting the hint). It would be great to either not copy special attributes at all or offer a configuration setting to select attributes to copy. Thanks
Originally posted by @tomfrit in https://github.com/digitalfortress-tech/typeahead-standalone/discussions/75