Changing drop-down default size

Respondidas


Publicado 27 oct 2023

Is there a way to change the number of items that are shown by default in a dropdown field?  Now I think it displays around 5 entries before the user must scroll.  However we are concerned that some users won't bother to do that and check the remaining possibilities.  That also goes for the multi-select dropdown.

Could we make the default as 10 or 15 entries displayed when the dropdown is selected?


2

5

5 comentarios

Thanks again, Mark! 

0


My pleasure... the same can be done with multi-selects (editing the theme's style.css file):

.hc-multiselect-menu {
  max-height:300px!important;
}

0


Hello Mark - I would like to express my gratitude for your valuable contribution in sharing this information with us. Your insights are greatly appreciated.

 

 

0


I was able to do this by changing the style.css file:

/* here we increase the max number of items to display in a dropdown by default */
.nesty-panel {
  max-height:300px!important;
}

0


Hello Mark,
 
Zendesk allows you to customize certain aspects of your ticket forms, including dropdown fields, but I'm afraid that it doesn't provide a built-in option to change the default number of items shown in a dropdown field. The number of items displayed in a dropdown is typically determined by the user's browser and is consistent with standard browser behavior.

0


Iniciar sesión para dejar un comentario.

¿No encontró lo que buscaba?

Nueva publicación