0.0.2 • Published 4 years ago

@goodpie/jquery-search-input v0.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

Jquery Input Autocomplete

This project is a personal project designed to provide basic autocomplete functionality from a set of predefined values. The existing autocomplete didn't provide the functionality (as far as I could tell) that I wanted which mainly includes the ability to autocomplete tags seperated by a comma.

Usage

See the demo for an example on how to use it

Attach the input autocomplete to the desired input:

$("#testInput").inputAutocomplete({
    predictableText: ["HelloWorld", "Harry", "Hell", "Hello", "Hero"]
});

Options

OptionValuesDefaultDescription
predictableTextstring[][]Text to use for predictions