ejs-textbox as multiline doesn't render as textarea

Hi friends,

I am using this textbox:

 @{IDictionary<string, object> htmlAttr = new Dictionary<string, object>();
htmlAttr.Add("rows", "5");
}
<ejs-textbox multiline="true" id="Notes" placeholder="@Html.DisplayNameFor(m => m.Notes)" floatLabelType="Auto" ejs-for="Notes" htmlAttributes="htmlAttr"></ejs-textbox>

but it doesn't render on browser (Edge, Chrome, etc.) as textarea, instead of shows an input tag:

<input id="Notes" rows="5" data-val="true" data-val-maxlength="The field  must be a string or array type with a maximum length of '250'." data-val-maxlength-max="250" name="Notes" ejs-for="true" class="e-control e-textbox e-lib" type="text" aria-labelledby="label_Notes">

Any idea?

Thanks

Package: Syncfusion.EJ2AspNet.Core 18.4.0.47


3 Replies

DR Deepak Ramakrishnan Syncfusion Team November 11, 2021 09:08 AM UTC

Hi Jesús, 
 
Greetings from Syncfusion support. 
 
We request you kindly upgrade to the latest version(19.3.48) to avail the  requirement . Also we have prepared the sample and attached below for your reference 
 
 
Thanks, 
Deepak R. 



JM Jesús Mostajo November 11, 2021 10:14 AM UTC

Works fine !


Thanks for your quick response.



DR Deepak Ramakrishnan Syncfusion Team November 12, 2021 07:33 AM UTC

Hi Jesús, 
 
Thanks for your update. 
 
We are glad that your requirement has fulfilled at your end.We are always happy to assist you if you need any further assistance. 
 
Thanks, 
Deepak R. 


Loader.
Up arrow icon