Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

[typeahead] selected modal is only binded when clicked (not enter or tab) in IE #404

Closed
mikehaas763 opened this issue May 6, 2013 · 4 comments

Comments

@mikehaas763
Copy link

Hello. I'm running into an issue where the underlying selected object is not selected in IE (I've tested with version 9) when an item is selected from the drop down with the enter or tab key. If I click on an item in the drop down then it works.

Could this be a bug or is my set up possibly wrong?

My attribute looks like this:

typeahead="product as product.value for product in products($viewValue)"

@pkozlowski-opensource
Copy link
Member

@mikehaas763 I've just tested on the demo page (http://angular-ui.github.io/bootstrap) and it seems to be working without any issues. Also we've got unit tests that are passing on IE9:
http://ci.angularjs.org/job/angularui-bootstrap/339/console

Tests cover both selection by a tab and enter.

Could you send a plunker with your reproduce scenario?

@mikehaas763
Copy link
Author

Here is a plunk: http://plnkr.co/edit/r00GheqT9WmltnxVfCdJ

@pkozlowski-opensource
Copy link
Member

@mikehaas763 OK, I can see it wit your example - but it has a looooot of code for a reproduce scenario. Could you please try to narrow it down to a minimal reproduce scenario?

I might have a look at your plunker in the comming days but with a shorter reproduce scenario you would get feedback faster.

@pkozlowski-opensource
Copy link
Member

@mikehaas763 Was trying to look into this one but I'm sorry to day that there is way too much code. We will need a minimal reproduce scenario demonstrating that the problem is in the typeahead directive and not in your code.

Closing for now, please reopen when you've got a minimal reproduce scenario.

codedogfish pushed a commit to codedogfish/angular-ui-bootstrap that referenced this issue Sep 15, 2015
codedogfish pushed a commit to codedogfish/angular-ui-bootstrap that referenced this issue Sep 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants