How to render a textarea in the Form? I have the below code, it did increase the height of the textbox, but does not behave like textarea.
items.AddGroup()
.Label("Comments")
.Layout("grid")
.Grid(g => g.Cols(1).Gutter(10))
.Items(i =>
{
i.Add()
.Field(f => f.Comments)
.Label(l => l.Text("Comments:")).InputHtmlAttributes(new { style = "height:80px;" });
});
Thank you!