Jump to content

[Answer] Autocomplete's Droplist Height

Recommended Posts

Autocomplete is a pain in the bikini bottom when inspecting because of how the droplist disappears whenever you try to inspect its element. However, after digging deep into Styles, I found out that there is a class in Source that can be used to modify its height so it doesn't expand to 10 options(default).

The class is "cbFormAutoCompleteList" and there is no built in function in Styles to add or reduce its height so you'll need to add one. You can also add this to the Header of your DataPage if you only want to apply it on a specific form only:


.cbFormAutoCompleteList {
overflow-y: scroll !important;  /*overflow is optional if you still want to allow your users to see all the options available*/
height: 93px !important; 

Hope this helps anyone trying to edit their autocomplete field!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...