Skip to content

Conversation

@iazi
Copy link

@iazi iazi commented Feb 6, 2015

Solution for autocomplete model not updating when pressing enter, as per: #33

@dnlmzw
Copy link

dnlmzw commented Feb 26, 2015

Any plans to when this will get merged? Could really use this.

@jamhall
Copy link

jamhall commented Mar 12, 2015

I too would like to see this merged.

@joanrodriguez
Copy link

@jamhall @dnlmzw Please see my actively managed fork here: https://github.com/iazi/ngMapAutocomplete/commits/master

I have merged not only this feature but many more unanswered pull requests and made several improvements.

@joanrodriguez
Copy link

I have also published it to bower: ng-map-autocomplete

@v-jelev
Copy link

v-jelev commented Mar 1, 2016

Until it will be merged, we can use:
app.config(['$provide', function($provide) { $provide.decorator('placesAutoCompleteDirective', ['$delegate', function($delegate) { var directive = $delegate[0]; directive.compile = function() { return function(scope, element, attrs) { directive.link.apply(this, arguments); element.bind("keydown keypress", function(event) { if(event.which === 13) { event.preventDefault(); } }); }; }; return $delegate; }]); }]);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants