JustGoscha / allmighty-autocomplete

Simple to use autocomplete directive in a module for AngularJs!
MIT License
392 stars 232 forks source link

want to clear value in input type #134

Open nitincredencys opened 7 years ago

nitincredencys commented 7 years ago

Hello, i have used this autocomplete and its working fine but i want to clear the value of which i have selected after button save which is in my system?

how can i clear value on outside button click?

nitincredencys commented 7 years ago

it is done i have did following:

remove-after-store="removeAfterStore" in autocomplete

and added scope argument removeAfterStore:'=removeAfterStore'

and set it in attr.inputId

and it works for me.