dougludlow / ng2-bs3-modal

Angular Bootstrap 3 Modal Component
http://dougludlow.github.io/ng2-bs3-modal/
ISC License
261 stars 133 forks source link

Issue with autofocus directive #92

Closed adaneam closed 8 years ago

adaneam commented 8 years ago

Seems like the "autofocus" directive that comes with ng2-bs3-modal overrides the default autofocus attribute. If you assign autofocus to an input element which is not a part of a modal dialog, you get "No provider for ModalComponent!" exception.

dougludlow commented 8 years ago

@adaneam this is hopefully fixed in v0.8.0. Lemme know if you find otherwise.