You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
niketpathak
changed the title
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.
Input hint breaks with HTMX and AlpineJS
Jul 23, 2024
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 #75
The text was updated successfully, but these errors were encountered: