We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Disable multiple lines

Hi,

Could you add an option or write to how to disable multiple lines in DropDownList component?



Best regards,
Tomasz Tomczykiewicz

1 Reply

CI Christopher Issac Sunder K Syncfusion Team July 18, 2019 02:20 PM UTC

Hi Tomasz Tomczykiewicz, 

Greetings from Syncfusion support. 

We have checked with your requirement. By Default, our DropdownList component’s item text will be in one line and the long text will be automatically truncated with the ellipsis at the end. We suspect that any of the other CSS style is affecting the dropdown and make to display it as multi-line texts. Please check this at your application level.  

We have prepared a sample for your reference, 

Please get back to us if you are facing the issue still. 

Thanks,
Christo 


Loader.
Live Chat Icon For mobile
Up arrow icon