Skip to content

Suggestion: Allow to use local HTML instead of fetching from the server #116

Description

@fidalgo

Hi! First of all, thank you for your work on this!

If we allow using HTML data attributes with data in JSON format instead of fetching from the server, this will allow caching where the data is static while preventing more network requests.

Imagine the case of a country list, where it's a fixed list; we may want just to iterate and render the li elements, but currently, we cannot use the autocomplete.

Do you think this could be a nice addition to this lib?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions