I'm looking for something like the snippet below to get a textarea to open showing all the content. I'm missing the width of the textarea and, ideally, the font size.
Is there a way to get the textArea to dynamically increase the number of rows based on the text being displayed?
thanks
@{
var tbRows = Product.Description.Length / 25;
if (tbRows == 0) tbRows = 1;
}
<RadzenTextArea Rows=@tbRows @bind-Value="Product.Description" style="width: 100%; margin-top:0px;" ReadOnly="true">
</RadzenTextArea>