sengirab / ngAutocomplete

Light-weight autocomplete component for Angular.
MIT License
52 stars 24 forks source link

How to show a clear button? #13

Closed QAQMiao closed 6 years ago

QAQMiao commented 6 years ago

I saw the function completer.ResetInput('completer') can clear the input, but I want to know is there any parameter can show a clear button? or I need to write it by myself?

sengirab commented 6 years ago

Hey. There isn't an built-in button to clear, you could implement such a thing yourself using the reset.

QAQMiao commented 6 years ago

ok, thx~