Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1375
Fixing width of combo editor
posted

Hello sir/mam,

I am facing one issue when using combo editor. When I am in edit. Mode sometimes the option are too big that they aren't visible properly in the combo box and it's ui is not looking good.Is there any way to autoset the width or something? To adjust it. Or is there any way I can use select 2 plugin. Inside it?. Please help me out with it.

Parents
No Data
Reply
  • 0
    Offline posted

    You can integrate Select2 by initializing it on your combo box element. Here’s a simple example:

    $('#your-combo-box').select2({ width: 'auto' // Automatically adjusts the width });
Children
No Data