angularjs - UI-Bootstrap Typeahead on a Modal -


i wanted place typeahead directive on modal dialog. problem when typeahead show it's list of possible matches behind modal-footer div. played append-to-body whole list behind modal dialog. played append-to no luck. suggestion?

the solution add attribute html:

typeahead-append-to-body="true" 

and in css file this:

 .dropdown-menu {        z-index:9999;    } 

now typeahead displays correctly on modal dialog.


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -