Setting the maxlength on the autocomplete input
Closed this issue · 2 comments
hadrian625 commented
Would it be possible to set the maxlength property on the html input element?
This would be useful for to prevent user to type too many characters when the application would want to get the free entered text by the user as data to be saved. This would eliminate the need to have a maxlength validation
sickdyd commented
@hadrian625 Feature added in the latest version!
sickdyd commented
Forgot to update the docs: use the prop maxLength
to define the max length of the input