i’m having troubles configuring the autocomplete module of JQuery-UI. I need that when the amount of data to select is big enough an scroll bar appears.
This is what i tried:
- in the
jquery-ui-1.8.16.cssi’ve set this:
ui.autocomplete{
max-height: 100px;
overflow-y: auto;
overflow-x: hidden;
}
*as shown in the ui-documentation example
This is how i declare and autocomplete input:
$("#myInput").autocomplete({
source: mySource,
minLength: 0,
});
I dont know why the scroll bar does not appear, any help would be appreciated. Thank you very much!
You should override the css setting it in the page like this
instead of changing values in
jquery-ui-1.8.16.css