JustGoscha / allmighty-autocomplete

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

Added the ability to name the input #112

Open ericjperry opened 8 years ago

ericjperry commented 8 years ago

When doing custom validation, and potentially showing errors for the specified input, it is nice to be able to name the input element in order to check whether the input has errors before showing a message. This change allows the autocomplete user to name the underlying input element.

This also allows the user to name the form element for submission.