typeahead-standalone icon indicating copy to clipboard operation
typeahead-standalone copied to clipboard

Input hint breaks with HTMX and AlpineJS

Open niketpathak opened this issue 1 year ago • 0 comments

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

niketpathak avatar Jul 23 '24 07:07 niketpathak