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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Input text is not filing the entire width control

Thread ID:





128535 Jan 26,2017 08:32 PM UTC Jan 30,2017 06:55 AM UTC ASP.NET Core 3
Tags: Autocomplete
Asked On January 26, 2017 08:32 PM UTC

Hi Support:

I added an autocomplete control inside a td column.

<ej-autocomplete id="type" width="100%" datasource="Model.ProductList" watermark-text="Select" enable-auto-fill="true" show-popup-button="true">
                    <e-autocomplete-fields text="Name" key="ID" />

My problem is that when I start typing, the text is not reaching to the end of the control, is not filling the entire width.  So the text is being horizontally scrolled.  The text reaches to 60% of the control's width.  I attached an image of the control.  You will that I added hundreds of the f letter, and is not filling the end of the width.

Any idea what could be causing this issue.

Thanks in advanced.


Attachment: autocomplete_45ee4f30.zip

Rekha J [Syncfusion]
Replied On January 27, 2017 09:42 AM UTC

Hi David,   
Thanks for contacting Syncfusion Support.   
We were able to reproduce the issue, “text is not reaching the end of the control, is not filling the entire width”. The issue occurs because in site.css file, max-width of input controls is assigned as “280px”. To overcome this issue, you have to change the max-width to width.    
Please refer to the below code snippet to achieve this.   
site.css file   
/* Set widths on the form inputs since otherwise they're 100% wide */   
textarea {   
    width: 280px;   
For your reference, we have created a simple sample, and the sample available in:   

Replied On January 27, 2017 02:48 PM UTC

Thanks Rekha

Works great.



Rekha J [Syncfusion]
Replied On January 30, 2017 06:55 AM UTC

Hi David, 

Thanks for the update. 

We are glad the suggestion helped you to resolve the issue. 

Please let us know if you need further assistance. 
Rekha J.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon