Skip to content

MaxLength on Text Input #895

Answered by sarahdayan
ajgray2017 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @ajgray2017!

The maxlength of 512 is designed to comply with the query length limit of Algolia's Search API. It isn't configurable if you're using autocomplete-js, only if you're using autocomplete-core directly. You could also change it after page load using the DOM API.

May I ask what is your use case? Are you willing to use Autocomplete with another API than Algolia?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ajgray2017
Comment options

Answer selected by sarahdayan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants