Make Auto-suggestion entries scrollable

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
neilpatrick08
User
Posts: 9

Make Auto-suggestion entries scrollable

Post by neilpatrick08 »

Is there a way to make auto-suggestion entries scrollable. For example, entering a keyword produces 50+ entries but since i only set the EW_AUTO_SUGGEST_MAX_ENTRIES to 10 or 15, it only shows 10 or 15 entries.

Thank you


danielc
User
Posts: 1601

Post by danielc »

If you set your Auto-Suggest maximum display to 10, the available options will be displayed 10 even if there is options more than this. See [Tools]->[Advanced Settings]->[Auto-Suggest maximum display].

To make your dropdown menu scrollable, you can add your user style. Click [HTML]->[Styles]->[Edit styles] and scroll down to bottom to add below this line (/* your CSS styles here */), see HTML Settings in help file:

.ewAddForm .tt-dropdown-menu {
height: 124px;
overflow-y: auto;
} /* adjust height to suit yours, this is for add page */

View HTML source to apply your css.


neilpatrick08
User
Posts: 9

Post by neilpatrick08 »

Thanks for your help. It definitely helped me!


Post Reply